diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c4986f7fa0..8ff14bacfa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,7 @@ mark_as_advanced(WarpX_TEST_FPETRAP) option(WarpX_TEST_DEBUG "Run CI tests with the -g compile option" OFF) mark_as_advanced(WarpX_TEST_DEBUG) if(WarpX_TEST_DEBUG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g1") endif() set(WarpX_DIMS_VALUES 1 2 3 RZ)