diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-18 08:52:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-18 08:53:23 +0200 |
commit | 904a461aa6bfca437eb3144d2133a029a7d032a0 (patch) | |
tree | 758b83f07832183c4def35036268def0e72d4716 /CMakeLists.txt | |
parent | d3509f15e95dd0e2fb884f0028fabfceb3ddf4fa (diff) |
build: decruft
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e5dc9d55..c436e30d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -667,22 +667,17 @@ if(NOT SDK_FACEAPI_ONLY) ) install(FILES ${opentrack-opencv-files} DESTINATION .) endif() - get_filename_component(opentrack-qt-bin "${QT_QMAKE_EXECUTABLE}" PATH) if(WIN32 AND NOT CMAKE_COMPILER_IS_GNUCC) - GET_FILENAME_COMPONENT(qt-dirname "${QT_QTCORE_LIBRARY_RELEASE}" PATH) - SET(qt-dirname "${qt-dirname}/../bin/") - if(NOT EXISTS "${qt-dirname}/../bin/") GET_FILENAME_COMPONENT(qt-dirname "${QT_QTCORE_LIBRARY_RELEASE}" PATH) SET(qt-dirname "${qt-dirname}/../bin/") - endif() - install(FILES - "${qt-dirname}/QtCore4.dll" - "${qt-dirname}/QtGui4.dll" - "${qt-dirname}/QtNetwork4.dll" - "${qt-dirname}/QtSvg4.dll" - "${qt-dirname}/QtXml4.dll" - DESTINATION . - ) + install(FILES + "${qt-dirname}/QtCore4.dll" + "${qt-dirname}/QtGui4.dll" + "${qt-dirname}/QtNetwork4.dll" + "${qt-dirname}/QtSvg4.dll" + "${qt-dirname}/QtXml4.dll" + DESTINATION . + ) endif() install(TARGETS opentrack-proto-freetrack |