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
275579a8
Commit
275579a8
authored
5 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14925 from StefanBruens:handle_absolute_include_path
parents
69560588
0a45b8c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
OpenCVGenConfig.cmake
cmake/OpenCVGenConfig.cmake
+5
-1
No files found.
cmake/OpenCVGenConfig.cmake
View file @
275579a8
...
...
@@ -68,7 +68,11 @@ configure_file("${OpenCV_SOURCE_DIR}/cmake/templates/OpenCVConfig-version.cmake.
# Part 2/3: ${BIN_DIR}/unix-install/OpenCVConfig.cmake -> For use *with* "make install"
# -------------------------------------------------------------------------------------------
file
(
RELATIVE_PATH OpenCV_INSTALL_PATH_RELATIVE_CONFIGCMAKE
"
${
CMAKE_INSTALL_PREFIX
}
/
${
OPENCV_CONFIG_INSTALL_PATH
}
/"
${
CMAKE_INSTALL_PREFIX
}
)
set
(
OpenCV_INCLUDE_DIRS_CONFIGCMAKE
"
\"\$
{OpenCV_INSTALL_PATH}/
${
OPENCV_INCLUDE_INSTALL_PATH
}
\"
\"\$
{OpenCV_INSTALL_PATH}/
${
OPENCV_INCLUDE_INSTALL_PATH
}
/opencv
\"
"
)
if
(
IS_ABSOLUTE
${
OPENCV_INCLUDE_INSTALL_PATH
}
)
set
(
OpenCV_INCLUDE_DIRS_CONFIGCMAKE
"
\"
${
OPENCV_INCLUDE_INSTALL_PATH
}
\"
\"
${
OPENCV_INCLUDE_INSTALL_PATH
}
/opencv
\"
"
)
else
()
set
(
OpenCV_INCLUDE_DIRS_CONFIGCMAKE
"
\"\$
{OpenCV_INSTALL_PATH}/
${
OPENCV_INCLUDE_INSTALL_PATH
}
\"
\"\$
{OpenCV_INSTALL_PATH}/
${
OPENCV_INCLUDE_INSTALL_PATH
}
/opencv
\"
"
)
endif
()
if
(
USE_IPPICV
)
file
(
RELATIVE_PATH IPPICV_INSTALL_PATH_RELATIVE_CONFIGCMAKE
"
${
CMAKE_INSTALL_PREFIX
}
"
"
${
IPPICV_INSTALL_PATH
}
"
)
...
...
This diff is collapsed.
Click to expand it.
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