From eb104cff927e52ef284603b0de3b0960e8b0ff49 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Thu, 2 Jan 2025 11:09:21 +0100 Subject: [PATCH] CMake: show the compiler version used --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd3b7adf..b9874a7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ function(add_c_flag_if_supported) endfunction() if(DEV_MODE) - message(STATUS "Using developer mode for ${CMAKE_C_COMPILER_ID}") + message(STATUS "Using developer mode for ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}") set(CMAKE_C_EXTENSIONS OFF) add_c_flag_if_supported(-Wno-error=unused-command-line-argument -Wall -Wextra -Wpedantic -Wfatal-errors -fstack-protector-strong