pkg_check_modules(<prefix> [REQUIRED] [QUIET] [NO_CMAKE_PATH] [NO_CMAKE_ENVIRONMENT_PATH] [IMPORTED_TARGET [GLOBAL]] <moduleSpec> [<moduleSpec>...])
pkg_check_modules(<prefix> [REQUIRED] [QUIET] [NO_CMAKE_PATH] [NO_CMAKE_ENVIRONMENT_PATH] [IMPORTED_TARGET [GLOBAL]] <moduleSpec> [<moduleSpec>...])
pkg_check_modules(PC_LIBUNWIND IMPORTED_TARGET ${LibUnwind_PKG_CONFIG_SPEC})
pkg_check_modules(libunwind IMPORTED_TARGET libunwind)
pkg_check_modules(waylands IMPORTED_TARGET wayland-client wayland-egl egl)
pkg_check_modules(PC_LIBINOTIFY IMPORTED_TARGET ${LibInotify_PKG_CONFIG_SPEC})
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET
libavcodec
libswscale
libavutil
)
pkg_check_modules(PC_LIBINOTIFY IMPORTED_TARGET ${LibInotify_PKG_CONFIG_SPEC})
pkg_check_modules(PC_LIBINOTIFY IMPORTED_TARGET ${LibInotify_PKG_CONFIG_SPEC})
pkg_check_modules(SPIRV_HEADERS REQUIRED IMPORTED_TARGET SPIRV-Headers)
pkg_check_modules(tinyxml2 IMPORTED_TARGET GLOBAL tinyxml2)
pkg_check_modules(OPENSC-LIBP11 libp11 REQUIRED IMPORTED_TARGET)
pkg_check_modules(wolfssl REQUIRED IMPORTED_TARGET wolfssl)
pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
pkg_check_modules(gfapi IMPORTED_TARGET glusterfs-api)
pkg_check_modules(tomlplusplus IMPORTED_TARGET tomlplusplus>=3.2.0)
pkg_check_modules (TAGLIB taglib IMPORTED_TARGET)
pkg_check_modules(libcurl REQUIRED IMPORTED_TARGET libcurl>=${CURL_MIN_VERSION})
pkg_check_modules(AUBIO REQUIRED QUIET IMPORTED_TARGET GLOBAL aubio>=${Aubio_FIND_VERSION})
pkg_check_modules(Systemd IMPORTED_TARGET GLOBAL libsystemd>=238)
pkg_check_modules(gtk REQUIRED IMPORTED_TARGET gtk4)
pkg_check_modules(PCRE2 REQUIRED IMPORTED_TARGET libpcre2-8)
pkg_check_modules(fftw3 REQUIRED IMPORTED_TARGET ${fftw3_pkg})
pkg_check_modules(CLI11 REQUIRED IMPORTED_TARGET CLI11)
pkg_check_modules(XCB REQUIRED QUIET IMPORTED_TARGET xcb)
pkg_check_modules(_libmariadb "libmariadb" QUIET IMPORTED_TARGET)
pkg_check_modules(GTK QUIET IMPORTED_TARGET REQUIRED gtk+-3.0)
pkg_check_modules(lz4 REQUIRED IMPORTED_TARGET liblz4)
pkg_check_modules(GTK4 QUIET IMPORTED_TARGET gtk4)
pkg_check_modules(BOTAN IMPORTED_TARGET botan-2)
pkg_check_modules(PKG_LIBVA_DRM IMPORTED_TARGET libva-drm>=1.2)
pkg_check_modules(depend REQUIRED IMPORTED_TARGET
x11 glx
)
pkg_check_modules(Systemd IMPORTED_TARGET GLOBAL libsystemd>=${MINIMUM_SDBUS_VERSION})
pkg_check_modules(ONNX_RUNTIME IMPORTED_TARGET libonnxruntime)
pkg_check_modules(Config++ REQUIRED IMPORTED_TARGET libconfig++)
pkg_check_modules(tinyxml2 QUIET IMPORTED_TARGET tinyxml2)
pkg_check_modules(BREAKPAD REQUIRED IMPORTED_TARGET breakpad-client)
pkg_check_modules(fftw3 REQUIRED IMPORTED_TARGET ${fftw3_pkg})
pkg_check_modules (gtk3 REQUIRED gtk+-3.0 IMPORTED_TARGET)
pkg_check_modules(LIBAVCODEC REQUIRED IMPORTED_TARGET libavcodec)
pkg_check_modules(GOBJECT REQUIRED IMPORTED_TARGET gobject-2.0)
pkg_check_modules(Gstreamer IMPORTED_TARGET GLOBAL
gobject-2.0
glib-2.0
gstreamer-sdp-1.0
gstreamer-pbutils-1.0
libsoup-2.4
json-glib-1.0
gstreamer-check-1.0)
pkg_check_modules(
deps
REQUIRED
IMPORTED_TARGET
libseat>=0.8.0
libinput>=1.26.0
wayland-client
wayland-protocols
hyprutils>=0.8.0
pixman-1
libdrm
gbm
libudev
libdisplay-info
hwdata)
pkg_check_modules(ATSPI2 IMPORTED_TARGET "atspi-2")
pkg_check_modules(_NetCDF QUIET netcdf IMPORTED_TARGET)
pkg_check_modules(JANSSON REQUIRED IMPORTED_TARGET jansson>=2.10)
pkg_check_modules(PipeWire QUIET IMPORTED_TARGET libpipewire-0.3)
pkg_check_modules(LibArchive IMPORTED_TARGET libarchive)
pkg_check_modules(SPIRV_HEADERS REQUIRED IMPORTED_TARGET SPIRV-Headers)
pkg_check_modules(
LIBAV
REQUIRED
IMPORTED_TARGET
# versions taken from CI 22.04
#libavfilter>=7.110.100
#libavformat>=58.76.100
#libavcodec>=58.134.100
#libswresample>=3.9.100
#libavutil>=56.70.100
# versions taken from CI. Ubuntu 20.04 system packages
libavfilter>=7.57.100
libavformat>=58.29.100
libavcodec>=58.54.100
libswresample>=3.5.100
libavutil>=56.31.100
)
pkg_check_modules(IPOPT REQUIRED ipopt IMPORTED_TARGET)
pkg_check_modules(libedit REQUIRED IMPORTED_TARGET libedit)
pkg_check_modules(LIBCAP REQUIRED IMPORTED_TARGET libcap)
pkg_check_modules(Libsystemd libsystemd IMPORTED_TARGET)
pkg_check_modules(
Botan
QUIET
IMPORTED_TARGET
${package_name}
)
pkg_check_modules(PORTAUDIO_2 IMPORTED_TARGET portaudio-2.0)
pkg_check_modules("${PKG}" REQUIRED IMPORTED_TARGET "${PKG}")
pkg_check_modules(LIBNOTIFY REQUIRED IMPORTED_TARGET libnotify)
pkg_check_modules(PROMETHEUS_CPP_PUSH IMPORTED_TARGET prometheus-cpp-push)
pkg_check_modules(PCSC REQUIRED IMPORTED_TARGET libpcsclite)
pkg_check_modules(Lua REQUIRED IMPORTED_TARGET lua5.4)
pkg_check_modules(Fuse REQUIRED IMPORTED_TARGET fuse)
pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
pkg_check_modules(
LIBAV
REQUIRED
IMPORTED_TARGET
libavformat
libavcodec
libavutil
libswresample)
pkg_check_modules(libzmq REQUIRED IMPORTED_TARGET libzmq)
pkg_check_modules(<prefix>
[REQUIRED] [QUIET]
[NO_CMAKE_PATH]
[NO_CMAKE_ENVIRONMENT_PATH]
[IMPORTED_TARGET [GLOBAL]]
<moduleSpec> [<moduleSpec>...])
pkg_check_modules(GTK IMPORTED_TARGET ${GTK_PC_MODULE})
pkg_check_modules(xxhash IMPORTED_TARGET xxhash)
pkg_check_modules(libriscv REQUIRED IMPORTED_TARGET libriscv)
pkg_check_modules(NETCDF REQUIRED IMPORTED_TARGET netcdf-cxx4)
pkg_check_modules(TCMallocMinimalVersionCheck QUIET IMPORTED_TARGET
libtcmalloc_minimal)
pkg_check_modules(
deps
REQUIRED
IMPORTED_TARGET
wayland-client
wayland-protocols
xkbcommon
cairo
pango
pangocairo
libjpeg
hyprutils>=0.2.0
hyprwayland-scanner>=0.4.0)
pkg_check_modules(Eigen3 QUIET IMPORTED_TARGET eigen3)
pkg_check_modules(LIBARCHIVE REQUIRED IMPORTED_TARGET libarchive>=${LIBARCHIVE_REQUIRED_VERSION})
pkg_check_modules(GTKMM REQUIRED IMPORTED_TARGET gtkmm-3.0)
pkg_check_modules(QGSettings REQUIRED IMPORTED_TARGET gsettings-qt)
pkg_check_modules(XMLSEC1_OPENSSL xmlsec1-openssl REQUIRED IMPORTED_TARGET)
pkg_check_modules(libadwaita REQUIRED IMPORTED_TARGET libadwaita-1)
pkg_check_modules(PC_UTF8PROC REQUIRED libutf8proc IMPORTED_TARGET)
pkg_check_modules("${prefix}" IMPORTED_TARGET ${ARGN})
pkg_check_modules(ISAL IMPORTED_TARGET GLOBAL libisal>=2.30.0)
pkg_check_modules(HDF5 hdf5 IMPORTED_TARGET)
pkg_check_modules(libpulse IMPORTED_TARGET libpulse)
pkg_check_modules(harfbuzz REQUIRED IMPORTED_TARGET harfbuzz)
pkg_check_modules(AO IMPORTED_TARGET ao)
pkg_check_modules(LIBCAMERA REQUIRED IMPORTED_TARGET libcamera)
pkg_check_modules(ICU REQUIRED IMPORTED_TARGET icu-uc icu-i18n)
pkg_check_modules(LIBSECRET libsecret-1 IMPORTED_TARGET ${_FIND_ARGS})
pkg_check_modules(MINI_ZIP IMPORTED_TARGET minizip)
pkg_check_modules(CURL libcurl IMPORTED_TARGET)
pkg_check_modules(
deps
REQUIRED
IMPORTED_TARGET
hyprlang>=0.4.2
libzip
cairo
librsvg-2.0
tomlplusplus)
pkg_check_modules(POPPLER QUIET IMPORTED_TARGET poppler poppler-cpp poppler-qt${FREELIB_QT_MAJOR_VERSION})
pkg_check_modules(DEPS REQUIRED IMPORTED_TARGET
hunspell
liblzma
lzo2
opencc
vorbis # .ogg
vorbisfile
xapian-core
zlib
${X11_Pkgs}
${Optional_Pkgs}
)
pkg_check_modules(libusb REQUIRED IMPORTED_TARGET libusb-1.0>=1.0.9)
pkg_check_modules(SPIRV_HEADERS REQUIRED IMPORTED_TARGET SPIRV-Headers)
pkg_check_modules(libusb REQUIRED IMPORTED_TARGET libusb-1.0)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET hyprutils>=0.7.1)
pkg_check_modules(XCB REQUIRED IMPORTED_TARGET xcb)
pkg_check_modules(X11 REQUIRED QUIET IMPORTED_TARGET x11)
pkg_check_modules(SPOT libspot
IMPORTED_TARGET)
pkg_check_modules(GINKGO REQUIRED IMPORTED_TARGET ginkgo)
pkg_check_modules(sqlcipher REQUIRED IMPORTED_TARGET sqlcipher)