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 16e43df commit 3390291Copy full SHA for 3390291
CMakeLists.txt
@@ -267,8 +267,10 @@ IF (ENABLE_GCOV AND NOT WIN32 AND NOT APPLE)
267
ENDIF()
268
269
MY_CHECK_C_COMPILER_FLAG(-ggdb3 HAVE_GGDB3)
270
-SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3")
271
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb3")
+IF(HAVE_GGDB3)
+ SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3")
272
+ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb3")
273
+ENDIF(HAVE_GGDB3)
274
275
OPTION(ENABLED_LOCAL_INFILE
276
"If we should should enable LOAD DATA LOCAL by default" ${IF_WIN})
0 commit comments