From 877706b8ebbecbbef159c1e04e69219d9fbd72ee Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sat, 22 Mar 2014 11:33:21 +0100 Subject: Cleanup: Restrict the debug -gline-tables-only to cxx_debug in cycles and spelling --- intern/cycles/blender/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/blender/CMakeLists.txt') diff --git a/intern/cycles/blender/CMakeLists.txt b/intern/cycles/blender/CMakeLists.txt index 08599f789f4..9a60152841e 100644 --- a/intern/cycles/blender/CMakeLists.txt +++ b/intern/cycles/blender/CMakeLists.txt @@ -51,7 +51,7 @@ blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}") # avoid link failure with clang 3.4 debug if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS '3.4') - add_definitions(-gline-tables-only) + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -gline-tables-only") endif() add_dependencies(bf_intern_cycles bf_rna) -- cgit v1.2.3