summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-qt.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-06-12 07:21:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-06-12 07:21:48 +0200
commit5b88ad389c9c50a3e0785b08f9572656b2d3fcda (patch)
tree25c8373ecb52b57777e8b01af40747034e63dd89 /cmake/opentrack-qt.cmake
parent466a0a8b251067cc74d8dddf7e4f50f44924a48d (diff)
cleanup
Diffstat (limited to 'cmake/opentrack-qt.cmake')
-rw-r--r--cmake/opentrack-qt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index 21bc42e1..7fc67415 100644
--- a/cmake/opentrack-qt.cmake
+++ b/cmake/opentrack-qt.cmake
@@ -8,7 +8,7 @@ if(WIN32)
foreach(i Qt5Core Qt5Gui Qt5Network Qt5SerialPort Qt5Widgets)
set(path "${Qt5_DIR}/../../../bin/${i}")
install(FILES "${path}.dll" DESTINATION .)
- if(EXISTS "${path}.pdb")
+ if(SDK_INSTALL_DEBUG_INFO AND EXISTS "${path}.pdb")
install(FILES "${path}.pdb" DESTINATION "${opentrack-hier-debug}")
endif()
endforeach()