From 915c76ded744c0f5f151402b9fa69f3fd8452573 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Wed, 11 Oct 2017 15:16:57 +0900 Subject: Imported Upstream version 3.9.4 --- Modules/FindKDE4.cmake | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'Modules/FindKDE4.cmake') diff --git a/Modules/FindKDE4.cmake b/Modules/FindKDE4.cmake index c653a04cd..bb98e53bd 100644 --- a/Modules/FindKDE4.cmake +++ b/Modules/FindKDE4.cmake @@ -1,27 +1,29 @@ -# Find KDE4 and provide all necessary variables and macros to compile software for it. -# It looks for KDE 4 in the following directories in the given order: -# CMAKE_INSTALL_PREFIX -# KDEDIRS -# /opt/kde4 +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. + +#.rst: +# FindKDE4 +# -------- # -# Please look in FindKDE4Internal.cmake and KDE4Macros.cmake for more information. -# They are installed with the KDE 4 libraries in $KDEDIRS/share/apps/cmake/modules/. # -# Author: Alexander Neundorf - -#============================================================================= -# Copyright 2006-2009 Kitware, Inc. -# Copyright 2006 Alexander Neundorf # -# Distributed under the OSI-approved BSD License (the "License"); -# see accompanying file Copyright.txt for details. +# Find KDE4 and provide all necessary variables and macros to compile +# software for it. It looks for KDE 4 in the following directories in +# the given order: +# +# :: +# +# CMAKE_INSTALL_PREFIX +# KDEDIRS +# /opt/kde4 # -# This software is distributed WITHOUT ANY WARRANTY; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -# See the License for more information. -#============================================================================= -# (To distribute this file outside of CMake, substitute the full -# License text for the above reference.) +# +# +# Please look in FindKDE4Internal.cmake and KDE4Macros.cmake for more +# information. They are installed with the KDE 4 libraries in +# $KDEDIRS/share/apps/cmake/modules/. +# +# Author: Alexander Neundorf # If Qt3 has already been found, fail. if(QT_QT_LIBRARY) @@ -92,7 +94,7 @@ if (KDE4_DATA_DIR) endif () # use FindKDE4Internal.cmake to do the rest - find_package(KDE4Internal ${_req} ${_quiet}) + find_package(KDE4Internal ${_req} ${_quiet} NO_POLICY_SCOPE) else () if (KDE4_FIND_REQUIRED) message(FATAL_ERROR "ERROR: cmake/modules/FindKDE4Internal.cmake not found in ${_data_DIR}") -- cgit v1.2.3