From bed6ddc538aa0b74f56329f8c00a42c07bce4d1d Mon Sep 17 00:00:00 2001 From: "Kilic, Deniz" <d.kilic@fz-juelich.de> Date: Tue, 6 Oct 2020 12:01:36 +0200 Subject: [PATCH] Added install command for ffmpeg --- cmake_modules/install_helper.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake_modules/install_helper.cmake b/cmake_modules/install_helper.cmake index d1839f730..df89b8892 100644 --- a/cmake_modules/install_helper.cmake +++ b/cmake_modules/install_helper.cmake @@ -22,6 +22,8 @@ if (WIN32) execute_process(COMMAND ${WINDEPLOYQT_APP} \"\${CMAKE_INSTALL_PREFIX}/bin/petrack.exe\") ") + install(FILES "${OpenCV_LIB_PATH}/../bin/opencv_videoio_ffmpeg${OpenCV_VERSION_MAJOR}${OpenCV_VERSION_MINOR}${OpenCV_VERSION_PATCH}_64.dll" DESTINATION ${CMAKE_INSTALL_BINDIR}) + # NOTE: Paths might be platform specific install(DIRECTORY "${Qt5Core_DIR}/../../../../../Licenses" DESTINATION "Licenses/Qt_Licenses") install(DIRECTORY "${OpenCV_DIR}/etc/licenses" DESTINATION "Licenses/OpenCV_Licenses") @@ -30,7 +32,6 @@ endif() install(FILES "${CMAKE_SOURCE_DIR}/ReadMe.md" "${CMAKE_SOURCE_DIR}/LICENSE" DESTINATION ".") - ################################################################## # PACKAGE # ################################################################## -- GitLab