summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-06-22 07:11:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-06-22 07:11:13 +0200
commit3b089db0ac04bd9082027c6fc3bbce54dbdfeae4 (patch)
treeacb1856396692d51772544ae556a1b9e49ca1268 /cmake
parent2d4cc95759c1d98fc07859ba1cdc0db4542dd360 (diff)
cmake: rename cache var
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake4
-rw-r--r--cmake/opentrack-qt.cmake2
2 files changed, 3 insertions, 3 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 9acf88db..e2db495b 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -194,8 +194,8 @@ function(otr_module n_)
else()
install(TARGETS "${n}" ${opentrack-hier-str} ${opentrack-perms})
endif()
- set(SDK_INSTALL_DEBUG_INFO FALSE CACHE BOOL "Whether to build and install debug info at install time")
- if(SDK_INSTALL_DEBUG_INFO)
+ set(opentrack_install-debug-info FALSE CACHE BOOL "Whether to build and install debug info at install time")
+ if(opentrack_install-debug-info)
otr_install_pdb_current_project(${n})
endif()
endif()
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index 7fc67415..24c59035 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(SDK_INSTALL_DEBUG_INFO AND EXISTS "${path}.pdb")
+ if(opentrack_install-debug-info AND EXISTS "${path}.pdb")
install(FILES "${path}.pdb" DESTINATION "${opentrack-hier-debug}")
endif()
endforeach()