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.
2 parents 651e443 + 01ea63b commit 846f0d6Copy full SHA for 846f0d6
CMakeLists.txt
@@ -288,11 +288,9 @@ IF (WITH_ASAN)
288
ENDIF()
289
290
291
-
292
-IF(CMAKE_BUILD_TYPE MATCHES "Debug" OR WITH_DEBUG)
293
- SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
294
- SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
295
-ENDIF()
+# Always enable debug sync for debug builds.
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
+SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
296
297
# Older versions of ccache must be disabled: export CCACHE_DISABLE=1
298
# See http://www.cmake.org/Uncyclo/CTest/Coverage
0 commit comments