diff options
author | Allen Winter <winter@kde.org> | 2007-12-11 17:14:02 +0000 |
---|---|---|
committer | Allen Winter <winter@kde.org> | 2007-12-11 17:14:02 +0000 |
commit | 3af101066917d7d017614540e91fa1487dd8331e (patch) | |
tree | 8a6e47245c1d31748fbb29941b2c7d10d1918f68 | |
parent | eda77f4d5da0d13c8ef8dcf965feb57b2ca48e1e (diff) | |
download | extra-cmake-modules-3af101066917d7d017614540e91fa1487dd8331e.tar.gz extra-cmake-modules-3af101066917d7d017614540e91fa1487dd8331e.tar.bz2 |
do'h.
there sure is a FindBZip2.cmake in cmake 2.4 and cmake 2.5.
svn path=/trunk/KDE/kdelibs/; revision=747304
-rw-r--r-- | modules/FindBZip2.cmake | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/FindBZip2.cmake b/modules/FindBZip2.cmake deleted file mode 100644 index aec276b4..00000000 --- a/modules/FindBZip2.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# Try to find the BZip2 librairies -# BZIP2_FOUND - system has BZip2 lib -# BZIP2_INCLUDE_DIR - the BZip2 include directory -# BZIP2_LIBRARIES - Libraries needed to use BZip2 - -# Copyright (c) 2007, Allen Winter <winter@kde.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - - -if (BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES) - # Already in cache, be silent - set(BZIP2_FIND_QUIETLY TRUE) -endif (BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES) - -find_path(BZIP2_INCLUDE_DIR NAMES bzlib.h ) -find_library(BZIP2_LIBRARIES NAMES bz2 ) - -include(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(BZIP2 DEFAULT_MSG BZIP2_INCLUDE_DIR BZIP2_LIBRARIES) - -mark_as_advanced(BZIP2_INCLUDE_DIR BZIP2_LIBRARIES) |