summaryrefslogtreecommitdiff
path: root/cmake/modules/GUDHI_user_version_target.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/GUDHI_user_version_target.cmake')
-rw-r--r--cmake/modules/GUDHI_user_version_target.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/modules/GUDHI_user_version_target.cmake b/cmake/modules/GUDHI_user_version_target.cmake
index cff64ad2..4abc2574 100644
--- a/cmake/modules/GUDHI_user_version_target.cmake
+++ b/cmake/modules/GUDHI_user_version_target.cmake
@@ -48,7 +48,11 @@ if (NOT CMAKE_VERSION VERSION_LESS 2.8.11)
copy_directory ${CMAKE_SOURCE_DIR}/src/GudhUI ${GUDHI_USER_VERSION_DIR}/GudhUI)
set(GUDHI_DIRECTORIES "doc;example;concept;utilities")
- set(GUDHI_INCLUDE_DIRECTORIES "include/gudhi;include/gudhi_patches")
+ if (NOT CGAL_VERSION VERSION_GREATER 4.11.0)
+ set(GUDHI_INCLUDE_DIRECTORIES "include/gudhi;include/gudhi_patches")
+ else ()
+ set(GUDHI_INCLUDE_DIRECTORIES "include/gudhi")
+ endif ()
foreach(GUDHI_MODULE ${GUDHI_MODULES_FULL_LIST})
foreach(GUDHI_DIRECTORY ${GUDHI_DIRECTORIES})