From fcb80d2438ead48c6c275b744cb21fbb621be474 Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 4 Oct 2013 08:04:59 +0000 Subject: [PATCH] Update of the bible ! (After Adrien'OK) Config file template will be moved to the top dir. --- CMakeLists.txt | 2 +- .../SalomeMEDConfig.cmake.in => SalomeMEDConfig.cmake.in | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename adm_local/cmake_files/SalomeMEDConfig.cmake.in => SalomeMEDConfig.cmake.in (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7630659dd..22d07e77c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -316,7 +316,7 @@ SET(SPHINX_ROOT_DIR "${SPHINX_ROOT_DIR}") # Get the relative path of the include directory so # we can register it in the generated configuration files: SET(CONF_INCLUDE_DIRS "${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}") -CONFIGURE_PACKAGE_CONFIG_FILE(adm_local/cmake_files/${PROJECT_NAME}Config.cmake.in +CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_NAME}Config.cmake.in ${PROJECT_BINARY_DIR}/to_install/${PROJECT_NAME}Config.cmake INSTALL_DESTINATION "${SALOME_INSTALL_CMAKE}_LOCAL" PATH_VARS CONF_INCLUDE_DIRS SALOME_INSTALL_CMAKE_LOCAL CMAKE_INSTALL_PREFIX diff --git a/adm_local/cmake_files/SalomeMEDConfig.cmake.in b/SalomeMEDConfig.cmake.in similarity index 100% rename from adm_local/cmake_files/SalomeMEDConfig.cmake.in rename to SalomeMEDConfig.cmake.in -- 2.39.2