aboutsummaryrefslogtreecommitdiff
path: root/modules/FindOpenSSL.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2006-04-08 22:43:16 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2006-04-08 22:43:16 +0000
commitcba8933a83c2e96698b85b980438f30385f8420e (patch)
treea419a92b1d833f8396bf1497354d5998528feac5 /modules/FindOpenSSL.cmake
parente9e6c0db0f483f2cdbceb69cbb76974189e15cde (diff)
downloadextra-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/FindOpenSSL.cmake')
-rw-r--r--modules/FindOpenSSL.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/FindOpenSSL.cmake b/modules/FindOpenSSL.cmake
index ada33cf0..5449f1f6 100644
--- a/modules/FindOpenSSL.cmake
+++ b/modules/FindOpenSSL.cmake
@@ -4,19 +4,16 @@
# OPENSSL_FOUND - system has the OpenSSL library
# OPENSSL_INCLUDE_DIR - the OpenSSL include directory
# OPENSSL_LIBRARIES - The libraries needed to use OpenSSL
-FIND_PACKAGE(GNUWIN32)
FIND_PATH(OPENSSL_INCLUDE_DIR openssl/ssl.h
/usr/include/
/usr/local/include/
- ${GNUWIN32_DIR}/include
)
FIND_LIBRARY(OPENSSL_LIBRARIES NAMES ssl ssleay32
PATHS
/usr/lib
/usr/local/lib
- ${GNUWIN32_DIR}/lib
)
if (OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES)