X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwxvtk%2FConfigure.cmake;h=40d7f4a17cbde9462b5c357f58593c0652e1bb13;hb=cfad95b6e08e6e53846ffcda7fbc5932065f2c47;hp=dc44b3be3d7cbec2ad11d8a9c6875d941b735e7e;hpb=0e7db59ef7d65efd7477ab1f214f8a83c6ad3eb4;p=bbtk.git diff --git a/packages/wxvtk/Configure.cmake b/packages/wxvtk/Configure.cmake index dc44b3b..40d7f4a 100644 --- a/packages/wxvtk/Configure.cmake +++ b/packages/wxvtk/Configure.cmake @@ -1,3 +1,29 @@ + # --------------------------------------------------------------------- + # + # 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. + # ------------------------------------------------------------------------ */ + + #=========================================================================== # DOES THE USER WANT TO BUILD THE PACKAGE ? OPTION(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME} @@ -5,6 +31,12 @@ OPTION(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME} #=========================================================================== IF(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}) + IF(NOT BUILD_BBTK_PACKAGE_std) + # FORCE the std package to avoid compilation errors + SET(BUILD_BBTK_PACKAGE_std ON CACHE BOOL "Build the bbtk package ${BBTK_PACKAGE_NAME} ?" FORCE) + message(FATAL_ERROR "You need the std package") + ENDIF(NOT BUILD_BBTK_PACKAGE_std) + #=========================================================================== # THE USER HAS CHOSEN TO BUILD THE PACKAGE #===========================================================================