1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-28 01:41:48 +03:00

cmake: Fixed find modules on Windows.

This commit is contained in:
Andreas Schneider
2010-12-30 00:26:37 +01:00
parent 08906e0f7f
commit 1646ce970c
5 changed files with 25 additions and 26 deletions

View File

@ -23,23 +23,27 @@ else (GCRYPT_LIBRARIES AND GCRYPT_INCLUDE_DIRS)
NAMES
gcrypt.h
PATHS
${_GCRYPT_DIR}/include
/usr/include
/usr/local/include
/opt/local/include
/sw/include
/usr/lib/sfw/include
$ENV{PROGRAMFILES}/GnuWin32/include
)
find_library(GCRYPT_LIBRARY
NAMES
gcrypt
PATHS
${_GCRYPT_DIR}/lib
/usr/lib
/usr/local/lib
/opt/local/lib
/sw/lib
/usr/sfw/lib/64
/usr/sfw/lib
$ENV{PROGRAMFILES}/GnuWin32/lib
)
set(GCRYPT_INCLUDE_DIRS