From 541632614d0ae7b6085dce8c030881ea47eee279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Nicola?= Date: Thu, 8 Aug 2024 17:08:28 +0200 Subject: [PATCH] Fix: update feed_version response's field after feed update (#1692) --- nasl/CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nasl/CMakeLists.txt b/nasl/CMakeLists.txt index 845cd1ac9c..890a2843b2 100644 --- a/nasl/CMakeLists.txt +++ b/nasl/CMakeLists.txt @@ -84,7 +84,7 @@ if (NETSNMP) endif (NETSNMP) message (STATUS "Looking for libgcrypt...") -find_library (GCRYPT gcrypt) +pkg_check_modules (GCRYPT REQUIRED gcrypt) message (STATUS "Looking for libgcrypt... ${GCRYPT}") if (NOT GCRYPT) message (SEND_ERROR "The libgcrypt library is required.") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 24b5b09943..da6a37f716 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -19,7 +19,7 @@ pkg_check_modules (GLIB REQUIRED glib-2.0>=2.42) pkg_check_modules (LIBBSD REQUIRED libbsd) message (STATUS "Looking for libgcrypt...") -find_library (GCRYPT gcrypt) +pkg_check_modules (GCRYPT REQUIRED gcrypt) if (NOT GCRYPT) message (SEND_ERROR "The libgcrypt library is required.") else (NOT GCRYPT)