From 684b02bd30663f33c51ccc1d177da1375b8f694f Mon Sep 17 00:00:00 2001 From: wlambooy Date: Tue, 14 Jan 2025 16:35:39 +0100 Subject: [PATCH] :green_heart: Trying to reduce memory consumption on the CI --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 183a3bba0..f7453caeb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,9 @@ fiction_setup_options() fiction_global_options() fiction_local_options() -set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g1 -fno-inline") +if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g1 -fno-inline") +endif () # don't know if this should be set globally from here or not... set(CMAKE_CXX_VISIBILITY_PRESET hidden)