Verified Commit 9371d9bd authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: look for testing dependencies

parent 144ba6d0
...@@ -81,9 +81,7 @@ set (BUILD_TESTING TRUE CACHE BOOL "compile and run unit tests") ...@@ -81,9 +81,7 @@ set (BUILD_TESTING TRUE CACHE BOOL "compile and run unit tests")
# Required dependencies # Required dependencies
set(BOOST_COMPONENTS thread date_time system) set(BOOST_COMPONENTS thread date_time system)
if (BUILD_TESTING) set(BOOST_COMPONENTS ${BOOST_COMPONENTS} filesystem unit_test_framework chrono)
set(BOOST_COMPONENTS ${BOOST_COMPONENTS} filesystem unit_test_framework chrono)
endif ()
if (BUILD_PYTHON_INTERFACE) if (BUILD_PYTHON_INTERFACE)
FINDPYTHON() FINDPYTHON()
set(BOOST_COMPONENTS ${BOOST_COMPONENTS} python) set(BOOST_COMPONENTS ${BOOST_COMPONENTS} python)
......
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