aboutsummaryrefslogtreecommitdiff
path: root/modules/UsePkgConfig.cmake
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2006-02-15 10:49:53 +0000
committerDavid Faure <faure@kde.org>2006-02-15 10:49:53 +0000
commiteaad615ee85800bedbf2088326399027c95d0740 (patch)
treea246899fbfde3fe0b1d000f2b93455cf20dcd144 /modules/UsePkgConfig.cmake
parentffc69376dc591eae7b0ed2e974a599fb1b8b2aa8 (diff)
downloadextra-cmake-modules-eaad615ee85800bedbf2088326399027c95d0740.tar.gz
extra-cmake-modules-eaad615ee85800bedbf2088326399027c95d0740.tar.bz2
Hmm, "NOT" can't be lowercased. I tested before lowercasing that last one, of course...
svn path=/trunk/KDE/kdelibs/; revision=509625
Diffstat (limited to 'modules/UsePkgConfig.cmake')
-rw-r--r--modules/UsePkgConfig.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/UsePkgConfig.cmake b/modules/UsePkgConfig.cmake
index 2deba4d7..aafe7942 100644
--- a/modules/UsePkgConfig.cmake
+++ b/modules/UsePkgConfig.cmake
@@ -3,7 +3,7 @@
# PKGCONFIG(package includedir libdir linkflags cflags)
# - Calling PKGCONFIG will fill the desired information into the 4 given arguments,
# e.g. PKGCONFIG(libart-2.0 LIBART_INCLUDE_DIR LIBART_LINK_DIR LIBART_LINK_FLAGS LIBART_CFLAGS)
-# if pkg-config was not found or the specified software package doesn't exist, the
+# if pkg-config was NOT found or the specified software package doesn't exist, the
# variable will be empty when the function returns, otherwise they will contain the respective information
FIND_PROGRAM(PKGCONFIG_EXECUTABLE NAMES pkg-config PATHS /usr/local/bin )
@@ -21,7 +21,7 @@ MACRO(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --exists RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
# and if the package of interest also exists for pkg-config, then get the information
- if(not _return_VALUE)
+ if(NOT _return_VALUE)
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --variable=includedir OUTPUT_VARIABLE ${_include_DIR} )
@@ -31,7 +31,7 @@ MACRO(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS ${_package} --cflags OUTPUT_VARIABLE ${_cflags} )
- endif(not _return_VALUE)
+ endif(NOT _return_VALUE)
endif(PKGCONFIG_EXECUTABLE)