From 2c10a814e9a1838f11acbc3d6e026123a8a1375e Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 16 Aug 2020 19:06:56 +0100 Subject: [PATCH] Github actions for MSVC --- test/CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8603b33b..c2b8ead3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -28,7 +28,6 @@ set(TEST_SOURCE_FILES test_array.cpp test_array_view.cpp test_array_wrapper.cpp - test_atomic_gcc_sync.cpp test_atomic_std.cpp test_binary.cpp test_bitset.cpp @@ -172,10 +171,10 @@ set(TEST_SOURCE_FILES test_xor_rotate_checksum.cpp ) -#if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") -# list(APPEND TEST_SOURCE_FILES "test_atomic_gcc_sync.cpp") -# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions") -#endif() +if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") + list(APPEND TEST_SOURCE_FILES "test_atomic_gcc_sync.cpp") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions") +endif() add_executable(etl_tests ${TEST_SOURCE_FILES} )