forked from weaselab/conflict-set
Suppress gcc warning about anon structs
This commit is contained in:
@@ -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