From 5aedd49a7f65c45c9e20809076e1aca6e62885a3 Mon Sep 17 00:00:00 2001 From: bruneton Date: Tue, 2 Jul 2013 08:17:12 +0000 Subject: [PATCH] CMake: installing configuration file into share/cmake/libbatch --- CMakeLists.txt | 2 +- CMakeModules/libbatchMacros.cmake | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7359c73..c84baf2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ INCLUDE(libbatchMacros) # User options # ============ -SET(INSTALL_CMAKE_CONFIG_DIR share/cmake) +SET(INSTALL_CMAKE_CONFIG_DIR share/cmake/libbatch) SET(INSTALL_INCLUDE_DIR include) SET(LIBBATCH_LOCAL_SUBMISSION TRUE CACHE BOOL "Build classes for local submission") diff --git a/CMakeModules/libbatchMacros.cmake b/CMakeModules/libbatchMacros.cmake index 3741aea..323e2e5 100644 --- a/CMakeModules/libbatchMacros.cmake +++ b/CMakeModules/libbatchMacros.cmake @@ -278,7 +278,8 @@ MACRO(SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS pkg referenceVariable upCount) MESSAGE(STATUS "${pkg} found directory matches what was specified in the ${pkg_UC}_ROOT_DIR variable, all good!") ENDIF() ELSE() - MESSAGE(STATUS "Environment variable ${pkg_UC}_ROOT_DIR is not defined. The system installation was found.") + MESSAGE(STATUS "Variable ${pkg_UC}_ROOT_DIR was not explicitly defined: " + "an installation was found anyway: ${_tmp_ROOT_DIR}") ENDIF() # 5. Conflict detection -- 2.39.2