summaryrefslogtreecommitdiff
path: root/GUDHIConfig.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'GUDHIConfig.cmake.in')
-rw-r--r--GUDHIConfig.cmake.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/GUDHIConfig.cmake.in b/GUDHIConfig.cmake.in
index 02b540dc..8d82f235 100644
--- a/GUDHIConfig.cmake.in
+++ b/GUDHIConfig.cmake.in
@@ -1,7 +1,12 @@
# - Config file for the GUDHI package
# It defines the following variables
# GUDHI_INCLUDE_DIRS - include directories for GUDHI
+#
+# Order is :
+# 1. user defined GUDHI_INCLUDE_DIRS
+# 2. ${CMAKE_SOURCE_DIR}/include => Where the 'cmake' has been done
+# 3. ${CMAKE_INSTALL_PREFIX}/include => Where the 'make install' has been performed
# Compute paths
-set(GUDHI_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
+set(GUDHI_INCLUDE_DIRS "${GUDHI_INCLUDE_DIRS};@CONF_INCLUDE_DIRS@")