We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 535160b commit 221adbcCopy full SHA for 221adbc
CMakeLists.txt
@@ -254,8 +254,10 @@ IF (ENABLE_GCOV AND NOT WIN32 AND NOT APPLE)
254
ENDIF()
255
256
MY_CHECK_C_COMPILER_FLAG(-ggdb3 HAVE_GGDB3)
257
-SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3")
258
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb3")
+IF(HAVE_GGDB3)
+ SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3")
259
+ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb3")
260
+ENDIF()
261
262
OPTION(ENABLED_LOCAL_INFILE
263
"If we should should enable LOAD DATA LOCAL by default" ${IF_WIN})
0 commit comments