forked from microsoft/GSL
forces GTEST_HAS_DEATH_TEST
This commit is contained in:
@@ -99,5 +99,10 @@ add_library(Microsoft.GSL::GSL ALIAS GSL)
|
|||||||
option(GSL_TEST "Generate tests." ${GSL_STANDALONE_PROJECT})
|
option(GSL_TEST "Generate tests." ${GSL_STANDALONE_PROJECT})
|
||||||
if (GSL_TEST)
|
if (GSL_TEST)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
|
if(IOS)
|
||||||
|
add_compile_definitions(
|
||||||
|
GTEST_HAS_DEATH_TEST=1
|
||||||
|
)
|
||||||
|
endif()
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif ()
|
endif ()
|
||||||
|
Reference in New Issue
Block a user