diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ebac0d..ee7f8c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,6 +130,7 @@ include(InstallDependencies) install_compiler_libraries() install_qt_libraries(QT_DEPENDENCIES) install_qt_imageformats() +install_qt_misc() install_opencv_libraries(OPENCV_DEPENDENCIES) # Package diff --git a/share/openbr/cmake/InstallDependencies.cmake b/share/openbr/cmake/InstallDependencies.cmake index 77937bd..34a354c 100644 --- a/share/openbr/cmake/InstallDependencies.cmake +++ b/share/openbr/cmake/InstallDependencies.cmake @@ -64,6 +64,17 @@ function(install_qt_imageformats) endif() endfunction() +# Qt Other +function(install_qt_misc) + if(MSVC) + if(${CMAKE_BUILD_TYPE} MATCHES Debug) + set(BR_INSTALL_DEPENDENCIES_SUFFIX "d") + endif() + install(FILES ${_qt5Core_install_prefix}/bin/libGLESv2${BR_INSTALL_DEPENDENCIES_SUFFIX}.dll DESTINATION bin) + # install(FILES ${_qt5Core_install_prefix}/bin/icuin49${BR_INSTALL_DEPENDENCIES_SUFFIX}.dll DESTINATION bin) + endif() +endfunction() + # Compiler libraries function(install_compiler_libraries) include(InstallRequiredSystemLibraries)