Commit 07fcdf1d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] run tests only if BUILD_TESTING

parent 95ee9a85
Pipeline #9194 passed with stage
in 59 seconds
......@@ -35,7 +35,9 @@ IF(BUILD_PYTHON_INTERFACE)
FINDPYTHON()
STRING(REGEX REPLACE "-" "_" PY_NAME ${PROJECT_NAME})
ADD_SUBDIRECTORY(python)
ADD_SUBDIRECTORY(unittest)
IF(BUILD_TESTING)
ADD_SUBDIRECTORY(unittest)
ENDIF(BUILD_TESTING)
ENDIF(BUILD_PYTHON_INTERFACE)
IF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
......
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