diff options
author | wreise <wojciech.reise@epfl.ch> | 2022-08-10 10:28:26 +0200 |
---|---|---|
committer | wreise <wojciech.reise@epfl.ch> | 2022-08-10 10:28:26 +0200 |
commit | b9a31fed2b90ee69a5c23047fd2ff1c264ad9605 (patch) | |
tree | c7a6e319c5cc6ba9c7963b08f7a4cdf3c776c922 /CMakeLists.txt | |
parent | 60e57f9c86a7aae67c2931200066aba059ec2721 (diff) | |
parent | 4f83706aa1263c04cb5e8763e1e8eb6c580bed3c (diff) |
Merge branch 'master' into optimize_silhouettes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ac877eea..6c233459 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +13,12 @@ set(GUDHI_MISSING_MODULES "" CACHE INTERNAL "GUDHI_MISSING_MODULES") # This variable is used by Cython CMakeLists.txt and by GUDHI_third_party_libraries to know its path set(GUDHI_PYTHON_PATH "src/python") -# For third parties libraries management - To be done last as CGAL updates CMAKE_MODULE_PATH -include(GUDHI_third_party_libraries NO_POLICY_SCOPE) +include(GUDHI_submodules) + +if (WITH_GUDHI_THIRD_PARTY) + # For third parties libraries management - To be done last as CGAL updates CMAKE_MODULE_PATH + include(GUDHI_third_party_libraries NO_POLICY_SCOPE) +endif() include(GUDHI_compilation_flags) @@ -52,7 +56,9 @@ foreach(GUDHI_MODULE ${GUDHI_MODULES}) endforeach() endforeach() -add_subdirectory(src/GudhUI) +if (WITH_GUDHI_THIRD_PARTY) + add_subdirectory(src/GudhUI) +endif() if (WITH_GUDHI_PYTHON) # specific for cython module |