Commit 2ee7902e2759d5546caac5107f742fc2aad1cb71
1 parent
d0734db1
install extra Qt dependencies on windows
Showing
2 changed files
with
12 additions
and
0 deletions
CMakeLists.txt
share/openbr/cmake/InstallDependencies.cmake
| ... | ... | @@ -64,6 +64,17 @@ function(install_qt_imageformats) |
| 64 | 64 | endif() |
| 65 | 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 | 78 | # Compiler libraries |
| 68 | 79 | function(install_compiler_libraries) |
| 69 | 80 | include(InstallRequiredSystemLibraries) | ... | ... |