Commit 6ba82db0 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Update test handling in main CMakeFile

parent 95509630
......@@ -32,6 +32,7 @@ option (
"Build with old ITAOps helper functions implementation (legacy code for RAVEN compatibility, adds GPL-licensed libs!)"
OFF
)
option (ITA_BASE_WITH_TESTS "Build the tests for the library" OFF)
add_subdirectory (external_libs)
......@@ -99,7 +100,7 @@ packageProject (
)
# tests
if (ITA_CORE_LIBS_WITH_TESTS)
if (ITA_BASE_WITH_TESTS)
set (ITABASE_COMMON_BUILD TRUE)
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/tests")
add_subdirectory (tests)
endif ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment