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
a954d363
Commit
a954d363
authored
Jun 05, 2013
by
Roman Donchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for adding custom OpenCV modules.
parent
087db294
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CMakeLists.txt
CMakeLists.txt
+4
-0
CMakeLists.txt
modules/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
a954d363
...
...
@@ -286,6 +286,10 @@ set(OPENCV_CONFIG_FILE_INCLUDE_DIR "${CMAKE_BINARY_DIR}/" CACHE PATH "Where to c
add_definitions
(
-DHAVE_CVCONFIG_H
)
ocv_include_directories
(
${
OPENCV_CONFIG_FILE_INCLUDE_DIR
}
)
# ----------------------------------------------------------------------------
# Path for additional modules
# ----------------------------------------------------------------------------
set
(
OPENCV_EXTRA_MODULES_PATH
""
CACHE PATH
"Where to look for additional OpenCV modules"
)
# ----------------------------------------------------------------------------
# Autodetect if we are in a GIT repository
...
...
modules/CMakeLists.txt
View file @
a954d363
...
...
@@ -2,4 +2,4 @@ if(NOT OPENCV_MODULES_PATH)
set
(
OPENCV_MODULES_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
)
endif
()
ocv_glob_modules
(
${
OPENCV_MODULES_PATH
}
)
ocv_glob_modules
(
${
OPENCV_MODULES_PATH
}
${
OPENCV_EXTRA_MODULES_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