diff options
author | Allen Winter <winter@kde.org> | 2006-03-20 21:05:37 +0000 |
---|---|---|
committer | Allen Winter <winter@kde.org> | 2006-03-20 21:05:37 +0000 |
commit | 191846e3e21c697c28bd5c8a166edeb4072161e3 (patch) | |
tree | dd41ca62b221ce0b3936c1dc9d518a01e6359bc6 /modules/FindBZip2.cmake | |
parent | 659abe0d63dd8d5a979d6584fdf9dfb7b9b6c6ff (diff) | |
download | extra-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/FindBZip2.cmake')
-rw-r--r-- | modules/FindBZip2.cmake | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/FindBZip2.cmake b/modules/FindBZip2.cmake index 4a6fae71..3bcc1748 100644 --- a/modules/FindBZip2.cmake +++ b/modules/FindBZip2.cmake @@ -22,20 +22,20 @@ FIND_LIBRARY(BZIP2_LIBRARIES NAMES bz2 bzip2 ${GNUWIN32_DIR}/lib ) -if(BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES) +if (BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES) set(BZIP2_FOUND TRUE) INCLUDE(CheckLibraryExists) CHECK_LIBRARY_EXISTS(${BZIP2_LIBRARIES} BZ2_bzCompressInit "" BZIP2_NEED_PREFIX) -endif(BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES) +endif (BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES) -if(BZIP2_FOUND) - if(NOT BZip2_FIND_QUIETLY) +if (BZIP2_FOUND) + if (NOT BZip2_FIND_QUIETLY) message(STATUS "Found BZip2: ${BZIP2_LIBRARIES}") - endif(NOT BZip2_FIND_QUIETLY) -else(BZIP2_FOUND) - if(BZip2_FIND_REQUIRED) + endif (NOT BZip2_FIND_QUIETLY) +else (BZIP2_FOUND) + if (BZip2_FIND_REQUIRED) message(FATAL_ERROR "Could NOT find BZip2") - endif(BZip2_FIND_REQUIRED) -endif(BZIP2_FOUND) + endif (BZip2_FIND_REQUIRED) +endif (BZIP2_FOUND) MARK_AS_ADVANCED(BZIP2_INCLUDE_DIR BZIP2_LIBRARIES) |