diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-15 13:58:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-15 13:58:42 +0200 |
commit | 8e988b5a8509cf811ababd8e49ce85aa4afe4da0 (patch) | |
tree | 8be72b9469739ec78bee77b4887a23d50809ac2c | |
parent | 8a6cf016021a9932dc5029cb8942dc93db89b573 (diff) |
Fix install target on 'doze
-rw-r--r-- | CMakeLists.txt | 14 |
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() |