diff options
| author | Andreas Schneider <asn@cynapses.org> | 2010-12-30 00:26:37 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@cynapses.org> | 2010-12-30 00:26:37 +0100 |
| commit | 1646ce970cad7934a0dd661045fc323c649df61e (patch) | |
| tree | 8a3b760127c797eb98efd439337abb03529a91e0 /cmake/Modules/FindGCrypt.cmake | |
| parent | 08906e0f7f28e5e90918d95a5bf0acf4f5a4982d (diff) | |
| download | libssh-1646ce970cad7934a0dd661045fc323c649df61e.tar.gz libssh-1646ce970cad7934a0dd661045fc323c649df61e.tar.xz libssh-1646ce970cad7934a0dd661045fc323c649df61e.zip | |
cmake: Fixed find modules on Windows.
Diffstat (limited to 'cmake/Modules/FindGCrypt.cmake')
| -rw-r--r-- | cmake/Modules/FindGCrypt.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/Modules/FindGCrypt.cmake b/cmake/Modules/FindGCrypt.cmake index 71edd32b..3bab9a19 100644 --- a/cmake/Modules/FindGCrypt.cmake +++ b/cmake/Modules/FindGCrypt.cmake @@ -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 |
