Skip to content

Commit

Permalink
[cmake] use BUILD_TESTING to make tests optional
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkl committed Aug 5, 2021
1 parent cdd5e87 commit 35f8132
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ find_package(k4LCIOReader)
include(CTest)

add_subdirectory(k4MarlinWrapper)
add_subdirectory(test)

if(BUILD_TESTING)
add_subdirectory(test)
endif()

gaudi_install(CMAKE)

0 comments on commit 35f8132

Please sign in to comment.