zeek/auxil/vcpkg/ports/opencv2/0004-enable-pkgconf.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

14 lines
381 B
Diff

--- a/cmake/OpenCVUtils.cmake
+++ b/cmake/OpenCVUtils.cmake
@@ -1,9 +1,7 @@
include(CheckFunctionExists)
include(CheckIncludeFile)
-if(UNIX)
- find_package(PkgConfig)
+ find_package(PkgConfig REQUIRED)
-endif()
# Search packages for the host system instead of packages for target system
# in case of cross compilation these macros should be defined by the toolchain file