Commit 2ee7902e2759d5546caac5107f742fc2aad1cb71
1 parent
d0734db1
install extra Qt dependencies on windows
Showing
2 changed files
with
12 additions
and
0 deletions
CMakeLists.txt
| @@ -130,6 +130,7 @@ include(InstallDependencies) | @@ -130,6 +130,7 @@ include(InstallDependencies) | ||
| 130 | install_compiler_libraries() | 130 | install_compiler_libraries() |
| 131 | install_qt_libraries(QT_DEPENDENCIES) | 131 | install_qt_libraries(QT_DEPENDENCIES) |
| 132 | install_qt_imageformats() | 132 | install_qt_imageformats() |
| 133 | +install_qt_misc() | ||
| 133 | install_opencv_libraries(OPENCV_DEPENDENCIES) | 134 | install_opencv_libraries(OPENCV_DEPENDENCIES) |
| 134 | 135 | ||
| 135 | # Package | 136 | # Package |
share/openbr/cmake/InstallDependencies.cmake
| @@ -64,6 +64,17 @@ function(install_qt_imageformats) | @@ -64,6 +64,17 @@ function(install_qt_imageformats) | ||
| 64 | endif() | 64 | endif() |
| 65 | endfunction() | 65 | endfunction() |
| 66 | 66 | ||
| 67 | +# Qt Other | ||
| 68 | +function(install_qt_misc) | ||
| 69 | + if(MSVC) | ||
| 70 | + if(${CMAKE_BUILD_TYPE} MATCHES Debug) | ||
| 71 | + set(BR_INSTALL_DEPENDENCIES_SUFFIX "d") | ||
| 72 | + endif() | ||
| 73 | + install(FILES ${_qt5Core_install_prefix}/bin/libGLESv2${BR_INSTALL_DEPENDENCIES_SUFFIX}.dll DESTINATION bin) | ||
| 74 | + # install(FILES ${_qt5Core_install_prefix}/bin/icuin49${BR_INSTALL_DEPENDENCIES_SUFFIX}.dll DESTINATION bin) | ||
| 75 | + endif() | ||
| 76 | +endfunction() | ||
| 77 | + | ||
| 67 | # Compiler libraries | 78 | # Compiler libraries |
| 68 | function(install_compiler_libraries) | 79 | function(install_compiler_libraries) |
| 69 | include(InstallRequiredSystemLibraries) | 80 | include(InstallRequiredSystemLibraries) |