diff --git a/cmake/modules/FindNss.cmake b/cmake/modules/FindNss.cmake index 92e8bca8..5846bf74 100644 --- a/cmake/modules/FindNss.cmake +++ b/cmake/modules/FindNss.cmake @@ -18,7 +18,7 @@ if(NSS_INCLUDE_DIRS AND NSS_LDFLAGS) else() if(NOT WIN32) - find_package(PkgConfig REQUIRED) + find_package(PkgConfig) pkg_search_module(NSS nss) endif(NOT WIN32) diff --git a/cmake/modules/FindPkcs11Helper.cmake b/cmake/modules/FindPkcs11Helper.cmake index 9b534a62..5500a262 100644 --- a/cmake/modules/FindPkcs11Helper.cmake +++ b/cmake/modules/FindPkcs11Helper.cmake @@ -21,7 +21,7 @@ if(PKCS11H_INCLUDE_DIRS AND PKCS11H_LDFLAGS) else() if(NOT WIN32) - find_package(PkgConfig REQUIRED) + find_package(PkgConfig) pkg_search_module(PKCS11H libpkcs11-helper-1) endif(NOT WIN32)