Commit e5041abe authored by Alexander Alekhin's avatar Alexander Alekhin

cmake: remove outdated pkg-config module

parent ac118aee
...@@ -445,10 +445,6 @@ endif(WIN32 AND NOT MINGW) ...@@ -445,10 +445,6 @@ endif(WIN32 AND NOT MINGW)
# CHECK FOR SYSTEM LIBRARIES, OPTIONS, ETC.. # CHECK FOR SYSTEM LIBRARIES, OPTIONS, ETC..
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
if(UNIX) if(UNIX)
include(cmake/OpenCVFindPkgConfig.cmake OPTIONAL)
include(CheckFunctionExists)
include(CheckIncludeFile)
if(NOT APPLE) if(NOT APPLE)
CHECK_INCLUDE_FILE(pthread.h HAVE_LIBPTHREAD) CHECK_INCLUDE_FILE(pthread.h HAVE_LIBPTHREAD)
if(ANDROID) if(ANDROID)
......
This diff is collapsed.
include(CheckFunctionExists)
include(CheckIncludeFile)
if(UNIX)
find_package(PkgConfig)
endif()
# Search packages for host system instead of packages for target system # Search packages for host system instead of packages for target system
# in case of cross compilation thess macro should be defined by toolchain file # in case of cross compilation thess macro should be defined by toolchain file
if(NOT COMMAND find_host_package) if(NOT COMMAND find_host_package)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment