forked from weaselab/conflict-set
Suppress gcc warning about anon structs
This commit is contained in:
1 parent
87dd70c4b6
commit
2689901637
1 file changed
+4
@@ -98,6 +98,10 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|||||||
list(APPEND TEST_FLAGS -Wno-gnu-anonymous-struct -Wno-nested-anon-types)
|
list(APPEND TEST_FLAGS -Wno-gnu-anonymous-struct -Wno-nested-anon-types)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
|
list(APPEND TEST_FLAGS -fms-extensions)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
|
||||||
if(BUILD_TESTING)
|
if(BUILD_TESTING)
|
||||||
|
|||||||
Reference in new issue
Block a user