From: mpa Date: Tue, 24 Dec 2013 13:40:39 +0000 (+0000) Subject: CMake: X-Git-Tag: V7_4_0a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b4c3ace6717270f6414f122cc13610954bd91fab;p=plugins%2Fhexablockplugin.git CMake: - Define HEXABLOCK_ROOT_DIR to use in function CONFIGURE_PACKAGE_CONFIG_FILE() --- 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}