Skip to content

Commit

Permalink
💚 Trying to reduce memory consumption on the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wlambooy committed Jan 14, 2025
1 parent 305f67c commit 684b02b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 684b02b

Please sign in to comment.