diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fed1b99108..f518c24624c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,8 @@ # ####################### +# newline + # Adjust default RelWithDebInfo flags to be in line with "Release with Debug". # The default RelWithDebInfo uses -O2, but Release uses -O3. This difference can be astonishing to users set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG")