1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2026-05-20 04:12:14 +00:00

CMake: Improve usage of pkg_check_modules()

This commit is contained in:
Carles Fernandez
2026-04-20 17:07:46 +02:00
parent e82624d981
commit 8a46874780
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ endif()
if(NOT PKG_CONFIG_FOUND)
include(FindPkgConfig)
endif()
pkg_check_modules(PC_GMP "gmp")
pkg_check_modules(PC_GMP QUIET gmp)
if(NOT DEFINED GNSSSDR_LIB_PATHS)
include(GnsssdrFindPaths)
+1 -1
View File
@@ -27,7 +27,7 @@ if(NOT DEFINED GNSSSDR_LIB_PATHS)
include(GnsssdrFindPaths)
endif()
pkg_check_modules(PC_LOG4CPP log4cpp QUIET)
pkg_check_modules(PC_LOG4CPP QUIET log4cpp)
if(LOG4CPP_INCLUDE_DIR)
# Already in cache, be silent
+1 -1
View File
@@ -31,7 +31,7 @@ if(NOT DEFINED GNSSSDR_LIB_PATHS)
include(GnsssdrFindPaths)
endif()
pkg_check_modules(PC_PCAP libpcap QUIET)
pkg_check_modules(PC_PCAP QUIET libpcap)
if(NOT PCAP_ROOT)
set(PCAP_ROOT_USER_PROVIDED /usr)
+1 -1
View File
@@ -28,7 +28,7 @@ if(NOT DEFINED GNSSSDR_LIB_PATHS)
include(GnsssdrFindPaths)
endif()
pkg_check_modules(PC_PUGIXML pugixml QUIET)
pkg_check_modules(PC_PUGIXML QUIET pugixml)
set(PUGIXML_ROOT_USER_DEFINED "")
if(DEFINED PUGIXML_ROOT AND NOT "${PUGIXML_ROOT}" STREQUAL "")
+1 -1
View File
@@ -21,7 +21,7 @@ if(NOT DEFINED GNSSSDR_LIB_PATHS)
include(GnsssdrFindPaths)
endif()
pkg_check_modules(PC_TELEORBIT teleorbit QUIET)
pkg_check_modules(PC_TELEORBIT QUIET teleorbit)
if(NOT TELEORBIT_ROOT)
set(TELEORBIT_ROOT_USER_DEFINED /usr/local)
+1 -1
View File
@@ -24,7 +24,7 @@ if(NOT DEFINED GNSSSDR_LIB_PATHS)
include(GnsssdrFindPaths)
endif()
pkg_check_modules(PC_VOLK volk QUIET)
pkg_check_modules(PC_VOLK QUIET volk)
########################################################################