From 8e988b5a8509cf811ababd8e49ce85aa4afe4da0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 15 Oct 2013 13:58:42 +0200 Subject: Fix install target on 'doze --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 152ba842..adf692af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -695,14 +695,14 @@ if(NOT SDK_FACEAPI_ONLY) install(FILES ${opentrack-opencv-files} DESTINATION .) endif() if(WIN32 AND NOT CMAKE_COMPILER_IS_GNUCC) - GET_FILENAME_COMPONENT(qt-dirname "${QT_QTCORE_LIBRARY_RELEASE}" PATH) - SET(qt-dirname "${qt-dirname}/../bin/") + GET_FILENAME_COMPONENT(qt-dirname "${Qt5Core_DIR}" PATH) + SET(qt-dirname "${qt-dirname}/../../bin") install(FILES - "${qt-dirname}/QtCore4.dll" - "${qt-dirname}/QtGui4.dll" - "${qt-dirname}/QtNetwork4.dll" - "${qt-dirname}/QtSvg4.dll" - "${qt-dirname}/QtXml4.dll" + "${qt-dirname}/Qt5Core.dll" + "${qt-dirname}/Qt5Gui.dll" + "${qt-dirname}/Qt5Widgets.dll" + "${qt-dirname}/Qt5Network.dll" + "${qt-dirname}/Qt5Xml.dll" DESTINATION . ) endif() -- cgit v1.2.3