build only py

This commit is contained in:
Erik Frojdh
2022-04-28 09:30:54 +02:00
parent b7153fe3e0
commit 6bad9e9f31
2 changed files with 15 additions and 2 deletions

View File

@ -71,6 +71,7 @@ if(SLS_BUILD_ONLY_MOENCH)
endif()
set(ClangFormat_EXCLUDE_PATTERNS "build/"
"libs/"
"slsDetectorCalibration/"
@ -102,6 +103,7 @@ else()
endif()
#Add two fake libraries to manage options
add_library(slsProjectOptions INTERFACE)
add_library(slsProjectWarnings INTERFACE)
@ -224,8 +226,8 @@ if (SLS_USE_INTEGRATION_TESTS)
endif (SLS_USE_INTEGRATION_TESTS)
if (SLS_USE_PYTHON)
find_package (Python 3.6 COMPONENTS Interpreter Development)
add_subdirectory(libs/pybind11)
# find_package (Python 3.6 COMPONENTS Interpreter Development)
# add_subdirectory(libs/pybind11)
add_subdirectory(python)
endif(SLS_USE_PYTHON)