From 2ee7902e2759d5546caac5107f742fc2aad1cb71 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Mon, 18 Mar 2013 14:15:44 -0400 Subject: [PATCH] install extra Qt dependencies on windows --- CMakeLists.txt | 1 + share/openbr/cmake/InstallDependencies.cmake | 11 +++++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) 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) -- libgit2 0.21.4