Skip to content
Snippets Groups Projects
Commit 07fcdf1d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] run tests only if BUILD_TESTING

parent 95ee9a85
No related branches found
No related tags found
No related merge requests found
Pipeline #9194 passed with warnings
......@@ -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)
......
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