diff --git a/src/modules/locale/CMakeLists.txt b/src/modules/locale/CMakeLists.txt index b70c6d1ab..8faf8468c 100644 --- a/src/modules/locale/CMakeLists.txt +++ b/src/modules/locale/CMakeLists.txt @@ -1,8 +1,10 @@ # When debugging the timezone widget, add this debugging definition # to have a debugging-friendly timezone widget, debug logging, # and no intrusive timezone-setting while clicking around. -# -# add_definitions( -DDEBUG_TIMEZONES ) +option( DEBUG_TIMEZONES "Debug-friendly timezone widget." OFF ) +if( DEBUG_TIMEZONES ) + add_definitions( -DDEBUG_TIMEZONES ) +endif() include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )