From 6567a67aefa437c4fdf005d22cb511cecc10fd18 Mon Sep 17 00:00:00 2001 From: Reinhold Gschweicher Date: Wed, 30 Mar 2022 22:15:02 +0200 Subject: [PATCH] cmake: add a status message which MONITOR_ZOOM is used --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 96b53d2..7981c1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,7 @@ add_executable(infinisim main.cpp ${SOURCES} ${INCLUDES}) set(MONITOR_ZOOM 1 CACHE STRING "Scale simulator window by this factor") if(MONITOR_ZOOM MATCHES "^[0-9]\.?[0-9]*") + message(STATUS "Using MONITOR_ZOOM=${MONITOR_ZOOM}") target_compile_definitions(infinisim PRIVATE MONITOR_ZOOM=${MONITOR_ZOOM}) else() message(FATAL_ERROR "variable MONITOR_ZOOM=${MONITOR_ZOOM} must be a positive number")