X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=cmake%2FCREAMacro_FindAndUseQt.cmake;h=515128c19d5503356a16d16637c80b741ddc8d51;hb=2b133989fba6c3cb267e5bc92400d7ed310bcc99;hp=0459f332315da77025abd9933cd2ce9ee850d3c9;hpb=1105ecb7bc1fab95fd553ab104275df6506fea22;p=crea.git diff --git a/cmake/CREAMacro_FindAndUseQt.cmake b/cmake/CREAMacro_FindAndUseQt.cmake index 0459f33..515128c 100644 --- a/cmake/CREAMacro_FindAndUseQt.cmake +++ b/cmake/CREAMacro_FindAndUseQt.cmake @@ -1,3 +1,28 @@ +# --------------------------------------------------------------------- +# +# 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. +# ------------------------------------------------------------------------ */ + IF(WIN32) STRING(REGEX REPLACE "\\\\" "/" QT_DIR "$ENV{QTDIR}") @@ -571,6 +596,6 @@ IF(WIN32) _QT4_ADJUST_LIB_VARS(QTXMLPATTERNS) _QT4_ADJUST_LIB_VARS(PHONON) _QT4_ADJUST_LIB_VARS(QTCLUCENE) -ELSEIF(WIN32) +ELSEIF(NOT WIN32) FIND_PACKAGE(Qt4 REQUIRED) -ENDIF(WIN32) \ No newline at end of file +ENDIF(WIN32)