diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-09-23 18:15:31 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-09-23 18:15:31 +0000 |
commit | d7fc9e378d9866e4bde9a58af4d8f2c96a2914ef (patch) | |
tree | 74655dd87b2f7304aa6637442dbc0c5981856455 /cmake | |
parent | eead6ee71720bf2848bec0de50ff32a5cfa3269d (diff) | |
download | wireshark-d7fc9e378d9866e4bde9a58af4d8f2c96a2914ef.tar.gz wireshark-d7fc9e378d9866e4bde9a58af4d8f2c96a2914ef.tar.bz2 wireshark-d7fc9e378d9866e4bde9a58af4d8f2c96a2914ef.zip |
Try finding gpg-error library, to improve building on OSX.
svn path=/trunk/; revision=30100
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindGCRYPT.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/modules/FindGCRYPT.cmake b/cmake/modules/FindGCRYPT.cmake index 3b8cb244e4..5920a83949 100644 --- a/cmake/modules/FindGCRYPT.cmake +++ b/cmake/modules/FindGCRYPT.cmake @@ -15,6 +15,7 @@ FIND_PATH(GCRYPT_INCLUDE_DIR gcrypt.h) SET(GCRYPT_NAMES gcrypt) FIND_LIBRARY(GCRYPT_LIBRARY NAMES ${GCRYPT_NAMES} ) +FIND_LIBRARY(GCRYPT_ERROR_LIBRARY NAMES gpg-error ) # handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if # all listed variables are TRUE @@ -22,7 +23,7 @@ INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(GCRYPT DEFAULT_MSG GCRYPT_LIBRARY GCRYPT_INCLUDE_DIR) IF(GCRYPT_FOUND) - SET( GCRYPT_LIBRARIES ${GCRYPT_LIBRARY} ) + SET( GCRYPT_LIBRARIES ${GCRYPT_LIBRARY} ${GCRYPT_ERROR_LIBRARY}) ELSE(GCRYPT_FOUND) SET( GCRYPT_LIBRARIES ) ENDIF(GCRYPT_FOUND) |