mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add enable_testing to the top level project
This enables us to run ctest on the top level build directory
This commit is contained in:
parent
c84915e212
commit
4c524838f5
@ -54,6 +54,10 @@ if(ZINT_DEBUG)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(ZINT_TEST)
|
||||
enable_testing()
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC)
|
||||
if(ZINT_SANITIZE)
|
||||
add_compile_options(-fsanitize=undefined -fsanitize=address)
|
||||
|
Loading…
Reference in New Issue
Block a user