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
8dae3431
Commit
8dae3431
authored
Apr 23, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed ffmpeg dll copying under mingw
parent
2c85aa54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
modules/highgui/CMakeLists.txt
+1
-1
No files found.
modules/highgui/CMakeLists.txt
View file @
8dae3431
...
...
@@ -279,7 +279,7 @@ if(WIN32 AND WITH_FFMPEG)
set
(
ffmpeg_bare_name
"opencv_ffmpeg
${
FFMPEG_SUFFIX
}
.dll"
)
set
(
ffmpeg_path
"
${
OpenCV_SOURCE_DIR
}
/3rdparty/ffmpeg/
${
ffmpeg_bare_name
}
"
)
if
(
CMAKE_VERSION VERSION_GREATER
"2.8.2"
)
if
(
MSVC AND
CMAKE_VERSION VERSION_GREATER
"2.8.2"
)
add_custom_command
(
TARGET
${
the_module
}
POST_BUILD
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
ffmpeg_path
}
"
"
${
EXECUTABLE_OUTPUT_PATH
}
/$<CONFIGURATION>/
${
ffmpeg_bare_name
}
"
COMMENT
"Copying
${
ffmpeg_path
}
to the output directory"
)
...
...
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