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
dfb161e9
Commit
dfb161e9
authored
Feb 03, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing #1580
parent
fdc1e87d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
OpenCVGenAndroidMK.cmake
cmake/OpenCVGenAndroidMK.cmake
+3
-1
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+6
-0
No files found.
cmake/OpenCVGenAndroidMK.cmake
View file @
dfb161e9
...
...
@@ -52,7 +52,9 @@ if(ANDROID)
list
(
INSERT OPENCV_3RDPARTY_COMPONENTS_CONFIGMAKE 0
${
mod
}
)
endif
()
endforeach
()
list
(
REMOVE_ITEM OPENCV_MODULES_CONFIGMAKE
${
OPENCV_3RDPARTY_COMPONENTS_CONFIGMAKE
}
)
if
(
OPENCV_3RDPARTY_COMPONENTS_CONFIGMAKE
)
list
(
REMOVE_ITEM OPENCV_MODULES_CONFIGMAKE
${
OPENCV_3RDPARTY_COMPONENTS_CONFIGMAKE
}
)
endif
()
# convert CMake lists to makefile literals
foreach
(
lst OPENCV_MODULES_CONFIGMAKE OPENCV_3RDPARTY_COMPONENTS_CONFIGMAKE OPENCV_EXTRA_COMPONENTS_CONFIGMAKE
)
...
...
cmake/OpenCVModule.cmake
View file @
dfb161e9
...
...
@@ -299,6 +299,12 @@ macro(ocv_glob_modules)
if
(
m MATCHES
"^opencv_"
)
string
(
REGEX REPLACE
"^opencv_"
""
__shortname
"
${
m
}
"
)
add_subdirectory
(
"
${
OPENCV_MODULE_
${
m
}
_LOCATION
}
"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
__shortname
}
"
)
#workaround for link_directories inheritance
get_directory_property
(
__lnkfix DIRECTORY
"
${
OPENCV_MODULE_
${
m
}
_LOCATION
}
"
LINK_DIRECTORIES
)
if
(
__lnkfix
)
link_directories
(
${
__lnkfix
}
)
endif
()
endif
()
endforeach
()
unset
(
__shortname
)
...
...
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