Commit 2ee7902e2759d5546caac5107f742fc2aad1cb71

Authored by Josh Klontz
1 parent d0734db1

install extra Qt dependencies on windows

CMakeLists.txt
... ... @@ -130,6 +130,7 @@ include(InstallDependencies)
130 130 install_compiler_libraries()
131 131 install_qt_libraries(QT_DEPENDENCIES)
132 132 install_qt_imageformats()
  133 +install_qt_misc()
133 134 install_opencv_libraries(OPENCV_DEPENDENCIES)
134 135  
135 136 # Package
... ...
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)
... ...