Skip to content
Snippets Groups Projects
Verified Commit 9371d9bd authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: look for testing dependencies

parent 144ba6d0
No related branches found
No related tags found
No related merge requests found
......@@ -81,9 +81,7 @@ set (BUILD_TESTING TRUE CACHE BOOL "compile and run unit tests")
# Required dependencies
set(BOOST_COMPONENTS thread date_time system)
if (BUILD_TESTING)
set(BOOST_COMPONENTS ${BOOST_COMPONENTS} filesystem unit_test_framework chrono)
endif ()
set(BOOST_COMPONENTS ${BOOST_COMPONENTS} filesystem unit_test_framework chrono)
if (BUILD_PYTHON_INTERFACE)
FINDPYTHON()
set(BOOST_COMPONENTS ${BOOST_COMPONENTS} python)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment