X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=cmake%2FInstallLibraryForCMake_LibraryConfig.cmake.in;h=09708900ed0278691481ae63b37e3a387de39879;hb=72a6140565ccd0905f822c7bf17ea471762a9301;hp=d442bd2206b883dc8f55abc13db1f81bfe95a963;hpb=596488a9529ffbedea2e6693e32e9b19f042b7e7;p=crea.git diff --git a/cmake/InstallLibraryForCMake_LibraryConfig.cmake.in b/cmake/InstallLibraryForCMake_LibraryConfig.cmake.in index d442bd2..0970890 100644 --- a/cmake/InstallLibraryForCMake_LibraryConfig.cmake.in +++ b/cmake/InstallLibraryForCMake_LibraryConfig.cmake.in @@ -1,8 +1,34 @@ +# --------------------------------------------------------------------- +# +# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +# pour la Santé) +# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +# Previous Authors : Laurent Guigues, Jean-Pierre Roux +# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil +# +# This software is governed by the CeCILL-B license under French law and +# abiding by the rules of distribution of free software. You can use, +# modify and/ or redistribute the software under the terms of the CeCILL-B +# license as circulated by CEA, CNRS and INRIA at the following URL +# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +# or in the file LICENSE.txt. +# +# As a counterpart to the access to the source code and rights to copy, +# modify and redistribute granted by the license, users are provided only +# with a limited warranty and the software's author, the holder of the +# economic rights, and the successive licensors have only limited +# liability. +# +# The fact that you are presently reading this means that you have had +# knowledge of the CeCILL-B license and that you accept its terms. +# ------------------------------------------------------------------------ */ + + #----------------------------------------------------------------------------- # # @LIBRARY_NAME@Config.cmake - CMake configuration file for external projects. # This file was automatically generated by the cmake macro -# crea_INSTALL_LIBRARY_FOR_CMAKE of the package crea +# CREA_INSTALL_LIBRARY_FOR_CMAKE of the package CREA # # This file is configured by cmake and used by the # Use@LIBRARY_NAME@.cmake module to load the lib settings @@ -13,7 +39,7 @@ SET(CILC_BUILD_TREE_CONFIGURATION @CILC_BUILD_TREE_CONFIGURATION@) IF(UNIX) -SET(GOTO_INSTALL_PREFIX /../..) +SET(GOTO_INSTALL_PREFIX /../../..) ENDIF(UNIX) @@ -103,8 +129,9 @@ SET(@LIBRARY_NAME@_BUILD_SETTINGS_FILE SET(@LIBRARY_NAME@_LIBRARIES @CILC_LIB_LIBRARIES@) # Messages -IF(crea_VERBOSE_FIND_LIBRARY) - MESSAGE(STATUS "Looking for @LIBRARY_NAME@... found - configuration :") +IF(CREA_VERBOSE_CMAKE) + MESSAGE(STATUS "=======================================") + MESSAGE(STATUS "Looking for @LIBRARY_NAME@... found:") MESSAGE(STATUS "* @LIBRARY_NAME@_DIR = ${@LIBRARY_NAME@_DIR}") MESSAGE(STATUS "* @LIBRARY_NAME@_VERSION = ${@LIBRARY_NAME@_VERSION}") MESSAGE(STATUS "* @LIBRARY_NAME@_USE_FILE = ${@LIBRARY_NAME@_USE_FILE}") @@ -112,15 +139,15 @@ IF(crea_VERBOSE_FIND_LIBRARY) MESSAGE(STATUS "* @LIBRARY_NAME@_INCLUDE_DIRS = ${@LIBRARY_NAME@_INCLUDE_DIRS}") MESSAGE(STATUS "* @LIBRARY_NAME@_LIBRARY_DIRS = ${@LIBRARY_NAME@_LIBRARY_DIRS}") MESSAGE(STATUS "* @LIBRARY_NAME@_LIBRARIES = ${@LIBRARY_NAME@_LIBRARIES}") -ENDIF(crea_VERBOSE_FIND_LIBRARY) +ENDIF(CREA_VERBOSE_CMAKE) # Does the library has an additional config file (user provided) ? SET(@LIBRARY_NAME@_HAS_ADDITIONAL_CONFIG_FILE @CILC_LIB_HAS_ADDITIONAL_CONFIG_FILE@) IF (@LIBRARY_NAME@_HAS_ADDITIONAL_CONFIG_FILE) - IF(crea_VERBOSE_FIND_LIBRARY) + IF(CREA_VERBOSE_CMAKE) MESSAGE(STATUS "Reading @LIBRARY_NAME@ additional configuration file") - ENDIF(crea_VERBOSE_FIND_LIBRARY) + ENDIF(CREA_VERBOSE_CMAKE) # Include it INCLUDE(${@LIBRARY_NAME@_DIR}/Additional@LIBRARY_NAME@Config.cmake) ENDIF (@LIBRARY_NAME@_HAS_ADDITIONAL_CONFIG_FILE)