diff --git a/CMakeLists.txt b/CMakeLists.txt index 23139d8d..f902b0ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,8 +11,9 @@ option( USE_TZ_DB_IN_DOT "Save the timezone database in the current folder" OFF option( BUILD_TZ_STATIC "Build a static version of library" ON ) function( print_option OPT ) - if ( NOT DEFINED CURR_${OPT} OR ( NOT CURR_${OPT} STREQUAL ${OPT} ) ) - set( CURR_${OPT} ${${OPT}} CACHE BOOL "" ) + if ( NOT DEFINED PRINT_OPTION_CURR_${OPT} OR ( NOT PRINT_OPTION_CURR_${OPT} STREQUAL ${OPT} ) ) + set( PRINT_OPTION_CURR_${OPT} ${${OPT}} CACHE BOOL "" ) + mark_as_advanced(PRINT_OPTION_CURR_${OPT}) message( "# date: ${OPT} ${${OPT}}" ) endif( ) endfunction( )