diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2006-04-08 22:43:16 +0000 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2006-04-08 22:43:16 +0000 |
commit | cba8933a83c2e96698b85b980438f30385f8420e (patch) | |
tree | a419a92b1d833f8396bf1497354d5998528feac5 /modules/FindBZip2.cmake | |
parent | e9e6c0db0f483f2cdbceb69cbb76974189e15cde (diff) | |
download | extra-cmake-modules-cba8933a83c2e96698b85b980438f30385f8420e.tar.gz extra-cmake-modules-cba8933a83c2e96698b85b980438f30385f8420e.tar.bz2 |
optimized gnuwin32 detection on windows
- find gnuwin32 package location very early
- removed GNUWIN32_INCLUDE_DIR/GNUWIN32_LIBRARY_DIR macros, because FindGNUWIN32.cmake
sets now CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH
- don't use pkgconfig on windows
svn path=/trunk/KDE/kdelibs/; revision=527634
Diffstat (limited to 'modules/FindBZip2.cmake')
-rw-r--r-- | modules/FindBZip2.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/FindBZip2.cmake b/modules/FindBZip2.cmake index 3bcc1748..a51662b8 100644 --- a/modules/FindBZip2.cmake +++ b/modules/FindBZip2.cmake @@ -7,19 +7,16 @@ # BZIP2_DEFINITIONS - Compiler switches required for using BZip2 # BZIP2_NEED_PREFIX - this is set if the functions are prefixed with BZ2_ # -FIND_PACKAGE(GNUWIN32) FIND_PATH(BZIP2_INCLUDE_DIR bzlib.h /usr/include /usr/local/include - ${GNUWIN32_DIR}/include ) FIND_LIBRARY(BZIP2_LIBRARIES NAMES bz2 bzip2 PATHS /usr/lib /usr/local/lib - ${GNUWIN32_DIR}/lib ) if (BZIP2_INCLUDE_DIR AND BZIP2_LIBRARIES) |