diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c4f3c05ecfa..1707c9aea1c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -360,6 +360,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