diff --git a/CMakeLists.txt b/CMakeLists.txt index c3c6e07b6ab0..3ceccb577739 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -367,6 +367,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