From 5b88ad389c9c50a3e0785b08f9572656b2d3fcda Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 12 Jun 2017 07:21:48 +0200 Subject: cleanup --- cmake/opentrack-platform.cmake | 2 +- cmake/opentrack-qt.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake') diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index 9c1d73a7..4351a28d 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -33,7 +33,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang") endif() if((NOT CMAKE_COMPILER_IS_GNUCXX) EQUAL (NOT (NOT CMAKE_COMPILER_IS_GNUCC))) - message(FATAL_ERROR "cannot use GNU C xor GNU C++") + message(FATAL_ERROR "cannot use either use both gcc and g++ or neither") endif() IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") 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() -- cgit v1.2.3