diff options
author | David Faure <faure@kde.org> | 2006-02-15 10:47:36 +0000 |
---|---|---|
committer | David Faure <faure@kde.org> | 2006-02-15 10:47:36 +0000 |
commit | ffc69376dc591eae7b0ed2e974a599fb1b8b2aa8 (patch) | |
tree | 8b96c99e279d45990ba048081fe4584ff877e066 /modules/UsePkgConfig.cmake | |
parent | 527ca576efb8fd69d60d0a838ef1669642f39bdb (diff) | |
download | extra-cmake-modules-ffc69376dc591eae7b0ed2e974a599fb1b8b2aa8.tar.gz extra-cmake-modules-ffc69376dc591eae7b0ed2e974a599fb1b8b2aa8.tar.bz2 |
Lowercase some common keywords to improve readability
svn path=/trunk/KDE/kdelibs/; revision=509624
Diffstat (limited to 'modules/UsePkgConfig.cmake')
-rw-r--r-- | modules/UsePkgConfig.cmake | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/UsePkgConfig.cmake b/modules/UsePkgConfig.cmake index e810d572..2deba4d7 100644 --- a/modules/UsePkgConfig.cmake +++ b/modules/UsePkgConfig.cmake @@ -10,18 +10,18 @@ FIND_PROGRAM(PKGCONFIG_EXECUTABLE NAMES pkg-config PATHS /usr/local/bin ) MACRO(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags) # reset the variables at the beginning - SET(${_include_DIR}) - SET(${_link_DIR}) - SET(${_link_FLAGS}) - SET(${_cflags}) + set(${_include_DIR}) + set(${_link_DIR}) + set(${_link_FLAGS}) + set(${_cflags}) # if pkg-config has been found - IF(PKGCONFIG_EXECUTABLE) + if(PKGCONFIG_EXECUTABLE) 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,9 +31,9 @@ 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) + endif(PKGCONFIG_EXECUTABLE) ENDMACRO(PKGCONFIG _include_DIR _link_DIR _link_FLAGS _cflags) |