diff --git a/CMakeLists.txt b/CMakeLists.txt index 2dc95f972877..5c27ff5902e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -362,6 +362,7 @@ if(${VELOX_ENABLE_GPU}) endif() set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g ") set(BOOST_INCLUDE_LIBRARIES atomic