blob: bc3d9fe7f63c9d220780a757fe5825c813999990 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- 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
|