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
32348604
Commit
32348604
authored
Nov 17, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3431 from PhilLab:patch-3
parents
d48e0a04
799646e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
OpenCVConfig.cmake
cmake/OpenCVConfig.cmake
+4
-4
OpenCVConfig.cmake.in
cmake/templates/OpenCVConfig.cmake.in
+2
-2
No files found.
cmake/OpenCVConfig.cmake
View file @
32348604
...
...
@@ -16,7 +16,7 @@
# If the module is found then OPENCV_<MODULE>_FOUND is set to TRUE.
#
# This file will define the following variables:
# - OpenCV_LIBS : The list of libraries to link
s
against.
# - OpenCV_LIBS : The list of libraries to link against.
# - OpenCV_LIB_DIR : The directory(es) where lib files are. Calling LINK_DIRECTORIES
# with this path is NOT needed.
# - OpenCV_INCLUDE_DIRS : The OpenCV include directories.
...
...
@@ -124,8 +124,8 @@ endif()
if
(
OpenCV_LIB_PATH AND EXISTS
"
${
OpenCV_LIB_PATH
}
/OpenCVConfig.cmake"
)
set
(
OpenCV_LIB_DIR_OPT
"
${
OpenCV_LIB_PATH
}
"
CACHE PATH
"Path where release OpenCV libraries are located"
FORCE
)
set
(
OpenCV_LIB_DIR_DBG
"
${
OpenCV_LIB_PATH
}
"
CACHE PATH
"Path where debug OpenCV libraries are located"
FORCE
)
set
(
OpenCV_3RDPARTY_LIB_DIR_OPT
"
${
OpenCV_LIB_PATH
}
"
CACHE PATH
"Path where release 3rdpaty OpenCV dependencies are located"
FORCE
)
set
(
OpenCV_3RDPARTY_LIB_DIR_DBG
"
${
OpenCV_LIB_PATH
}
"
CACHE PATH
"Path where debug 3rdpaty OpenCV dependencies are located"
FORCE
)
set
(
OpenCV_3RDPARTY_LIB_DIR_OPT
"
${
OpenCV_LIB_PATH
}
"
CACHE PATH
"Path where release 3rdpa
r
ty OpenCV dependencies are located"
FORCE
)
set
(
OpenCV_3RDPARTY_LIB_DIR_DBG
"
${
OpenCV_LIB_PATH
}
"
CACHE PATH
"Path where debug 3rdpa
r
ty OpenCV dependencies are located"
FORCE
)
include
(
"
${
OpenCV_LIB_PATH
}
/OpenCVConfig.cmake"
)
...
...
@@ -159,7 +159,7 @@ if(OpenCV_LIB_PATH AND EXISTS "${OpenCV_LIB_PATH}/OpenCVConfig.cmake")
else
()
if
(
NOT OpenCV_FIND_QUIETLY
)
message
(
WARNING
"Found OpenCV Windows Pack but it has no
t
binaries compatible with your configuration.
"Found OpenCV Windows Pack but it has no binaries compatible with your configuration.
You should manually point CMake variable OpenCV_DIR to your build of OpenCV library."
)
endif
()
...
...
cmake/templates/OpenCVConfig.cmake.in
View file @
32348604
...
...
@@ -122,8 +122,8 @@ set(OpenCV_INCLUDE_DIRS @OpenCV_INCLUDE_DIRS_CONFIGCMAKE@)
# Provide the libs directories to the caller
set(OpenCV_LIB_DIR_OPT @OpenCV_LIB_DIRS_CONFIGCMAKE@ CACHE PATH "Path where release OpenCV libraries are located")
set(OpenCV_LIB_DIR_DBG @OpenCV_LIB_DIRS_CONFIGCMAKE@ CACHE PATH "Path where debug OpenCV libraries are located")
set(OpenCV_3RDPARTY_LIB_DIR_OPT @OpenCV_3RDPARTY_LIB_DIRS_CONFIGCMAKE@ CACHE PATH "Path where release 3rdpaty OpenCV dependencies are located")
set(OpenCV_3RDPARTY_LIB_DIR_DBG @OpenCV_3RDPARTY_LIB_DIRS_CONFIGCMAKE@ CACHE PATH "Path where debug 3rdpaty OpenCV dependencies are located")
set(OpenCV_3RDPARTY_LIB_DIR_OPT @OpenCV_3RDPARTY_LIB_DIRS_CONFIGCMAKE@ CACHE PATH "Path where release 3rdpa
r
ty OpenCV dependencies are located")
set(OpenCV_3RDPARTY_LIB_DIR_DBG @OpenCV_3RDPARTY_LIB_DIRS_CONFIGCMAKE@ CACHE PATH "Path where debug 3rdpa
r
ty OpenCV dependencies are located")
mark_as_advanced(FORCE OpenCV_LIB_DIR_OPT OpenCV_LIB_DIR_DBG OpenCV_3RDPARTY_LIB_DIR_OPT OpenCV_3RDPARTY_LIB_DIR_DBG OpenCV_CONFIG_PATH)
# ======================================================
...
...
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