diff options
Diffstat (limited to 'cmake/Modules/FindGCRYPT.cmake')
-rw-r--r-- | cmake/Modules/FindGCRYPT.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/Modules/FindGCRYPT.cmake b/cmake/Modules/FindGCRYPT.cmake index b73bfd0..cd51c1f 100644 --- a/cmake/Modules/FindGCRYPT.cmake +++ b/cmake/Modules/FindGCRYPT.cmake @@ -16,7 +16,10 @@ # This file is in the public domain include(FindPkgConfig) -pkg_check_modules(GCRYPT gcrypt) + +if(NOTÂ GCRYPT_FOUND) + pkg_check_modules(GCRYPT gcrypt) +endif() if(NOT GCRYPT_FOUND) find_path(GCRYPT_INCLUDE_DIRS NAMES gcrypt.h |