diff options
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index da2737af..f716ec00 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -186,7 +186,10 @@ function(otr_module n_) else() install(TARGETS "${n}" ${opentrack-hier-str} ${opentrack-perms}) endif() - otr_install_pdb_current_project(${n}) + set(SDK_INSTALL_DEBUG_INFO FALSE CACHE BOOL "Whether to build and install debug info at install time") + if(SDK_INSTALL_DEBUG_INFO) + otr_install_pdb_current_project(${n}) + endif() endif() otr_compat(${n}) |