Skip to content

Commit a23abef

Browse files
author
Roman Donchenko
committed
Removed OpenCVFindPkgConfig.cmake, since it's bundled with CMake now.
In fact, I don't think we actually use it... but I kept the include, just in case.
1 parent 656416d commit a23abef

File tree

2 files changed

+1
-366
lines changed

2 files changed

+1
-366
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ endif(WIN32 AND NOT MINGW)
346346
# CHECK FOR SYSTEM LIBRARIES, OPTIONS, ETC..
347347
# ----------------------------------------------------------------------------
348348
if(UNIX)
349-
include(cmake/OpenCVFindPkgConfig.cmake OPTIONAL)
349+
find_package(PkgConfig QUIET)
350350
include(CheckFunctionExists)
351351
include(CheckIncludeFile)
352352

cmake/OpenCVFindPkgConfig.cmake

-365
This file was deleted.

0 commit comments

Comments
 (0)