From d446059766f9560a34735cd04beac319d1fb0858 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 17 Nov 2023 19:44:29 +0100 Subject: Output build configuration in CMake report (#838) --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 : ") +else () + message (STATUS "Build configuration : ${CMAKE_BUILD_TYPE}") +endif () + +message (STATUS "") + if (FLTK_USE_BUILTIN_JPEG) message (STATUS "Image Libraries : JPEG = Builtin") else () -- cgit v1.2.3