mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-01 15:48:25 -04: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue