From b4c3ace6717270f6414f122cc13610954bd91fab Mon Sep 17 00:00:00 2001 From: mpa Date: Tue, 24 Dec 2013 13:40:39 +0000 Subject: [PATCH] CMake: - Define HEXABLOCK_ROOT_DIR to use in function CONFIGURE_PACKAGE_CONFIG_FILE() --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b895ae..660d126 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,6 +226,7 @@ EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets} # Ensure the variables are always defined for the configure: SET(SMESH_ROOT_DIR "${SMESH_ROOT_DIR}") +SET(HEXABLOCK_ROOT_DIR "${HEXABLOCK_ROOT_DIR}") SET(CONF_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/include" "${PROJECT_BINARY_DIR}/include") @@ -236,7 +237,7 @@ CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_NAME}Config.cmake.in ${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake INSTALL_DESTINATION "${SALOME_INSTALL_CMAKE_LOCAL}" PATH_VARS CONF_INCLUDE_DIRS SALOME_INSTALL_CMAKE_LOCAL CMAKE_INSTALL_PREFIX - SMESH_ROOT_DIR) + SMESH_ROOT_DIR HEXABLOCK_ROOT_DIR) WRITE_BASIC_PACKAGE_VERSION_FILE(${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake VERSION ${${PROJECT_NAME_UC}_VERSION} -- 2.39.2