mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
forces GTEST_HAS_DEATH_TEST
This commit is contained in:
parent
0ab350f5de
commit
91858ca3f3
@ -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 ()
|
||||||
|
Loading…
Reference in New Issue
Block a user