diff options
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 4 | ||||
-rw-r--r-- | cmake/opentrack-qt.cmake | 2 |
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() |