Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2af4dc72
Commit
2af4dc72
authored
Nov 28, 2016
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7741 from alalek:cmake_remove_legacy_pkgconfig
parents
5cead190
e5041abe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
CMakeLists.txt
CMakeLists.txt
+0
-4
OpenCVFindPkgConfig.cmake
cmake/OpenCVFindPkgConfig.cmake
+0
-0
OpenCVUtils.cmake
cmake/OpenCVUtils.cmake
+7
-0
No files found.
CMakeLists.txt
View file @
2af4dc72
...
...
@@ -447,10 +447,6 @@ endif(WIN32 AND NOT MINGW)
# CHECK FOR SYSTEM LIBRARIES, OPTIONS, ETC..
# ----------------------------------------------------------------------------
if
(
UNIX
)
include
(
cmake/OpenCVFindPkgConfig.cmake OPTIONAL
)
include
(
CheckFunctionExists
)
include
(
CheckIncludeFile
)
if
(
NOT APPLE
)
CHECK_INCLUDE_FILE
(
pthread.h HAVE_LIBPTHREAD
)
if
(
ANDROID
)
...
...
cmake/OpenCVFindPkgConfig.cmake
deleted
100644 → 0
View file @
5cead190
This diff is collapsed.
Click to expand it.
cmake/OpenCVUtils.cmake
View file @
2af4dc72
include
(
CheckFunctionExists
)
include
(
CheckIncludeFile
)
if
(
UNIX
)
find_package
(
PkgConfig
)
endif
()
# Search packages for host system instead of packages for target system
# in case of cross compilation thess macro should be defined by toolchain file
if
(
NOT COMMAND find_host_package
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment