summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-17 19:44:29 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-17 19:44:29 +0100
commitd446059766f9560a34735cd04beac319d1fb0858 (patch)
tree2af37183765cc71228f8a2c93d5e64d518d38f62
parent367d302b5f120ff3497631a6fb1eaa6ea6f126b6 (diff)
Output build configuration in CMake report (#838)
-rw-r--r--CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 36908006a..21ef377d7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -249,6 +249,16 @@ else ()
message (STATUS "Example programs will not be built (set FLTK_BUILD_EXAMPLES=ON to build)")
endif ()
+message (STATUS "")
+
+if (CMAKE_BUILD_TYPE STREQUAL "")
+ message (STATUS "Build configuration : <unspecified>")
+else ()
+ message (STATUS "Build configuration : ${CMAKE_BUILD_TYPE}")
+endif ()
+
+message (STATUS "")
+
if (FLTK_USE_BUILTIN_JPEG)
message (STATUS "Image Libraries : JPEG = Builtin")
else ()