From bbf184b036c0b740b3fb0a95f5ce53dfa6151b52 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Mon, 13 Aug 2018 14:18:44 +0000 Subject: Modify GUDHIConfig.cmake in order to have : 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 git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@3775 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 506357257ce261cb2778e357ca902401da4838e7 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c60346d5..6c446104 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -71,7 +71,7 @@ export(PACKAGE GUDHI) message("++ make install will install ${PROJECT_NAME} in the following directory : ${CMAKE_INSTALL_PREFIX}") # Create the GUDHIConfig.cmake and GUDHIConfigVersion files -set(CONF_INCLUDE_DIRS "${CMAKE_INSTALL_PREFIX}/include") +set(CONF_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/include;${CMAKE_INSTALL_PREFIX}/include") configure_file(GUDHIConfig.cmake.in "${PROJECT_BINARY_DIR}/GUDHIConfig.cmake" @ONLY) configure_file(GUDHIConfigVersion.cmake.in "${PROJECT_BINARY_DIR}/GUDHIConfigVersion.cmake" @ONLY) -- cgit v1.2.3