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
fdc1e87d
Commit
fdc1e87d
authored
Feb 03, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix #1580 - building OpenCV with ffmpeg not in LD_LIBRARY_PATH
parent
1e79280b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+12
-3
No files found.
cmake/OpenCVModule.cmake
View file @
fdc1e87d
...
...
@@ -285,12 +285,21 @@ macro(ocv_glob_modules)
#resolve dependencies
__ocv_flatten_module_dependencies
()
#order modules by dependencies
set
(
OPENCV_MODULES_BUILD_
""
)
foreach
(
m
${
OPENCV_MODULES_BUILD
}
)
list
(
APPEND OPENCV_MODULES_BUILD_
${
OPENCV_MODULE_
${
m
}
_DEPS
}
${
m
}
)
endforeach
()
ocv_list_unique
(
OPENCV_MODULES_BUILD_
)
#create modules
set
(
OPENCV_INITIAL_PASS OFF
)
foreach
(
m
${
OPENCV_MODULES_BUILD
}
)
string
(
REGEX REPLACE
"^opencv_"
""
__shortname
"
${
m
}
"
)
add_subdirectory
(
"
${
OPENCV_MODULE_
${
m
}
_LOCATION
}
"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
__shortname
}
"
)
foreach
(
m
${
OPENCV_MODULES_BUILD_
}
)
if
(
m MATCHES
"^opencv_"
)
string
(
REGEX REPLACE
"^opencv_"
""
__shortname
"
${
m
}
"
)
add_subdirectory
(
"
${
OPENCV_MODULE_
${
m
}
_LOCATION
}
"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
__shortname
}
"
)
endif
()
endforeach
()
unset
(
__shortname
)
endmacro
()
...
...
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