Commit 5a313cca authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] avoid tests dir on BUILD_TESTING=OFF

parent e3f6f292
Pipeline #12282 passed with stage
in 45 minutes and 59 seconds
......@@ -185,7 +185,9 @@ IF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
ENDIF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(tests)
IF(BUILD_TESTING)
ADD_SUBDIRECTORY(tests)
ENDIF(BUILD_TESTING)
ADD_SUBDIRECTORY(doc)
PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME})
......
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