correct pkg-config command

This commit is contained in:
2025-06-09 18:04:12 +02:00
parent 83f929911e
commit 4fc1717983

View File

@@ -45,10 +45,10 @@ VCPKG_TRIPLET ?= $(strip \
# override the pkg config path, so it is used instead of system packages # override the pkg config path, so it is used instead of system packages
export PKG_CONFIG_PATH := $(VCPKG_ROOT)/installed/$(VCPKG_TRIPLET)/lib/pkgconfig export PKG_CONFIG_PATH := $(VCPKG_ROOT)/installed/$(VCPKG_TRIPLET)/lib/pkgconfig
else ifneq ($(shell which pkg_config),) else ifneq ($(shell which pkg-config),)
$(warning couldn't find VCPKG_ROOT, attempting to use system packages using pkg-config!) $(warning couldn't find VCPKG_ROOT, attempting to use system packages using pkg-config!)
else else
$(error neither VCPKG_ROOT nor pkg_config were available!) $(error neither VCPKG_ROOT nor pkg-config were available!)
endif endif
# use pkg-config to set the include and linker information # use pkg-config to set the include and linker information