aboutsummaryrefslogtreecommitdiff
path: root/modules/FindPCRE.cmake
diff options
context:
space:
mode:
authorAllen Winter <winter@kde.org>2006-03-20 21:05:37 +0000
committerAllen Winter <winter@kde.org>2006-03-20 21:05:37 +0000
commit191846e3e21c697c28bd5c8a166edeb4072161e3 (patch)
treedd41ca62b221ce0b3936c1dc9d518a01e6359bc6 /modules/FindPCRE.cmake
parent659abe0d63dd8d5a979d6584fdf9dfb7b9b6c6ff (diff)
downloadextra-cmake-modules-191846e3e21c697c28bd5c8a166edeb4072161e3.tar.gz
extra-cmake-modules-191846e3e21c697c28bd5c8a166edeb4072161e3.tar.bz2
minor cleanups: indenting, adding newline to end of file, etc.
svn path=/trunk/KDE/kdelibs/; revision=520790
Diffstat (limited to 'modules/FindPCRE.cmake')
-rw-r--r--modules/FindPCRE.cmake18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/FindPCRE.cmake b/modules/FindPCRE.cmake
index b7935d26..d3a84023 100644
--- a/modules/FindPCRE.cmake
+++ b/modules/FindPCRE.cmake
@@ -34,19 +34,19 @@ FIND_LIBRARY(PCRE_PCREPOSIX_LIBRARY NAMES pcreposix
set(PCRE_LIBRARIES ${PCRE_PCRE_LIBRARY} ${PCRE_PCREPOSIX_LIBRARY} CACHE STRING "The libraries needed to use PCRE")
-if(PCRE_INCLUDE_DIR AND PCRE_LIBRARIES)
+if (PCRE_INCLUDE_DIR AND PCRE_LIBRARIES)
set(PCRE_FOUND TRUE)
-endif(PCRE_INCLUDE_DIR AND PCRE_LIBRARIES)
+endif (PCRE_INCLUDE_DIR AND PCRE_LIBRARIES)
-if(PCRE_FOUND)
- if(NOT PCRE_FIND_QUIETLY)
+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)
+ 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)
+ endif (PCRE_FIND_REQUIRED)
+endif (PCRE_FOUND)
MARK_AS_ADVANCED(PCRE_INCLUDE_DIR PCRE_LIBRARIES PCRE_PCREPOSIX_LIBRARY PCRE_PCRE_LIBRARY)