diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-03-22 14:33:21 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-03-22 14:33:32 +0400 |
commit | 877706b8ebbecbbef159c1e04e69219d9fbd72ee (patch) | |
tree | 4f5ba4599d11a3fae3a1db7dfa1baf7d1125948f /intern/cycles/blender/CMakeLists.txt | |
parent | 85e0f6904095ff18917f53df64c6fb0f2543a216 (diff) |
Cleanup: Restrict the debug -gline-tables-only to cxx_debug in cycles and spelling
Diffstat (limited to 'intern/cycles/blender/CMakeLists.txt')
-rw-r--r-- | intern/cycles/blender/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |