[locale] Add a CMake option for debugging

This commit is contained in:
Adriaan de Groot 2019-03-17 09:47:50 -04:00
parent 3db708dd04
commit 2caefce3cb

View File

@ -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 )