Skip to content

Commit

Permalink
build_system: remove flags for unit tests in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed Feb 22, 2018
1 parent b811348 commit c216d39
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmake/unit_tests.cmake
Expand Up @@ -6,12 +6,6 @@ add_executable(unit_tests_runner
${UNIT_TEST_SOURCES}
)

if (MSVC)
# We need this to prevent linking errors from happening in the Windows build.
target_compile_definitions(unit_tests_runner PRIVATE -DGTEST_LINKED_AS_SHARED_LIBRARY)
target_compile_options(unit_tests_runner PUBLIC "/wd4251" "/wd4275")
endif()

target_compile_definitions(unit_tests_runner PRIVATE FAKE_TIME=1)

set_target_properties(unit_tests_runner
Expand Down

0 comments on commit c216d39

Please sign in to comment.