mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 10:27:09 +00: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:
@@ -54,6 +54,10 @@ if(ZINT_DEBUG)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(ZINT_TEST)
|
||||||
|
enable_testing()
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC)
|
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC)
|
||||||
if(ZINT_SANITIZE)
|
if(ZINT_SANITIZE)
|
||||||
add_compile_options(-fsanitize=undefined -fsanitize=address)
|
add_compile_options(-fsanitize=undefined -fsanitize=address)
|
||||||
|
|||||||
Reference in New Issue
Block a user