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/FindPCRE.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/FindPCRE.cmake')
-rw-r--r-- | modules/FindPCRE.cmake | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/modules/FindPCRE.cmake b/modules/FindPCRE.cmake index 5a78c6c1..fbca4eb8 100644 --- a/modules/FindPCRE.cmake +++ b/modules/FindPCRE.cmake @@ -32,21 +32,21 @@ FIND_LIBRARY(PCRE_PCREPOSIX_LIBRARY NAMES pcreposix ${GNUWIN32_DIR}/lib ) -SET(PCRE_LIBRARIES ${PCRE_PCRE_LIBRARY} ${PCRE_PCREPOSIX_LIBRARY} CACHE STRING "The libraries needed to use PCRE") - -IF(PCRE_INCLUDE_DIR AND PCRE_LIBRARIES) - SET(PCRE_FOUND TRUE) -ENDIF(PCRE_INCLUDE_DIR AND PCRE_LIBRARIES) - - -IF(PCRE_FOUND) - IF(NOT PCRE_FIND_QUIETLY) - MESSAGE(STATUS "Found PCRE: ${PCRE_LIBRARIES}") - ENDIF(NOT PCRE_FIND_QUIETLY) -ELSE(PCRE_FOUND) - IF(PCRE_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Could not find PCRE") - ENDIF(PCRE_FIND_REQUIRED) -ENDIF(PCRE_FOUND) +set(PCRE_LIBRARIES ${PCRE_PCRE_LIBRARY} ${PCRE_PCREPOSIX_LIBRARY} CACHE STRING "The libraries needed to use PCRE") + +if(PCRE_INCLUDE_DIR AND PCRE_LIBRARIES) + set(PCRE_FOUND TRUE) +endif(PCRE_INCLUDE_DIR AND PCRE_LIBRARIES) + + +if(PCRE_FOUND) + if(not PCRE_FIND_QUIETLY) + message(STATUS "Found PCRE: ${PCRE_LIBRARIES}") + endif(not PCRE_FIND_QUIETLY) +else(PCRE_FOUND) + if(PCRE_FIND_REQUIRED) + message(FATAL_ERROR "Could not find PCRE") + endif(PCRE_FIND_REQUIRED) +endif(PCRE_FOUND) MARK_AS_ADVANCED(PCRE_INCLUDE_DIR PCRE_LIBRARIES PCRE_PCREPOSIX_LIBRARY PCRE_PCRE_LIBRARY) |