Skip to content

Commit

Permalink
Not treating self-assign-overloaded warning as an error in unit_tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemp committed Jun 7, 2019
1 parent b3a131c commit 1b4a5df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ set_target_properties(unit_tests PROPERTIES DEBUG_POSTFIX ${RTTR_DEBUG_POSTFIX}
CXX_STANDARD ${MAX_CXX_STANDARD})

set_compiler_warnings(unit_tests)
target_compile_options(unit_tests PRIVATE -Wno-error=self-assign-overloaded)

if (MSVC)
target_compile_options(unit_tests PRIVATE /bigobj)
Expand All @@ -72,4 +73,4 @@ add_subdirectory(plugin)
add_dependencies(unit_tests unit_test_plugin)

message(STATUS "Scanning " ${PROJECT_NAME} " module finished!")
message(STATUS "")
message(STATUS "")

0 comments on commit 1b4a5df

Please sign in to comment.