summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-15 13:58:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-15 13:58:42 +0200
commit8e988b5a8509cf811ababd8e49ce85aa4afe4da0 (patch)
tree8be72b9469739ec78bee77b4887a23d50809ac2c /CMakeLists.txt
parent8a6cf016021a9932dc5029cb8942dc93db89b573 (diff)
Fix install target on 'doze
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files 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()