diff options
author | Alexander Neundorf <neundorf@kde.org> | 2010-11-07 18:06:10 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2010-11-07 18:06:10 +0000 |
commit | 95ffc4dde3715e66195bce7ec25c08a6b5e8cc73 (patch) | |
tree | 9f50f9a67dc6a0ebd4588f82070c263c4fef6a80 /modules/FindPkgConfig.cmake | |
parent | e7cdf5b80ffee65d4bd0412b6c829edb8e165ecb (diff) | |
download | extra-cmake-modules-95ffc4dde3715e66195bce7ec25c08a6b5e8cc73.tar.gz extra-cmake-modules-95ffc4dde3715e66195bce7ec25c08a6b5e8cc73.tar.bz2 |
-remove the include guards again, they might keep us from including our own version, if first our version has been loaded (mark as loaded), then the one from cmake (with potentially different behaviour), and then again our version (not loaded because the first one has already marked the file as included)
Alex
svn path=/trunk/KDE/kdelibs/; revision=1193960
Diffstat (limited to 'modules/FindPkgConfig.cmake')
-rw-r--r-- | modules/FindPkgConfig.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/FindPkgConfig.cmake b/modules/FindPkgConfig.cmake index 6f2435ca..78c4a13f 100644 --- a/modules/FindPkgConfig.cmake +++ b/modules/FindPkgConfig.cmake @@ -100,12 +100,6 @@ # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. -# Include guard, it's not necessary to parse this fail again and again: -IF(_FINDPKGCONFIG_ALREADY_INCLUDED AND PKG_CONFIG_EXECUTABLE) - RETURN() -ENDIF(_FINDPKGCONFIG_ALREADY_INCLUDED AND PKG_CONFIG_EXECUTABLE) -SET(_FINDPKGCONFIG_ALREADY_INCLUDED TRUE) - ### Common stuff #### set(PKG_CONFIG_VERSION 1) set(PKG_CONFIG_FOUND 0) |