Skip to content

Commit 6567a67

Browse files
committed
cmake: add a status message which MONITOR_ZOOM is used
1 parent 726f759 commit 6567a67

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ add_executable(infinisim main.cpp ${SOURCES} ${INCLUDES})
5757

5858
set(MONITOR_ZOOM 1 CACHE STRING "Scale simulator window by this factor")
5959
if(MONITOR_ZOOM MATCHES "^[0-9]\.?[0-9]*")
60+
message(STATUS "Using MONITOR_ZOOM=${MONITOR_ZOOM}")
6061
target_compile_definitions(infinisim PRIVATE MONITOR_ZOOM=${MONITOR_ZOOM})
6162
else()
6263
message(FATAL_ERROR "variable MONITOR_ZOOM=${MONITOR_ZOOM} must be a positive number")

0 commit comments

Comments
 (0)