Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2014-03-13 14:06:43 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-03-13 14:06:57 +0400
commit67fc520ab8833ed4c27a4cdf4eb7f93b7ef55904 (patch)
tree68635d1271daeb59d6244b17468a834aa996257e /intern/cycles/blender/CMakeLists.txt
parent94379277dd25a3300e54f89b8c7ef52b9a63f82f (diff)
Cmake: fix compile problem after own commit
Diffstat (limited to 'intern/cycles/blender/CMakeLists.txt')
-rw-r--r--intern/cycles/blender/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/cycles/blender/CMakeLists.txt b/intern/cycles/blender/CMakeLists.txt
index 265c433aae8..8aeaa9b491b 100644
--- a/intern/cycles/blender/CMakeLists.txt
+++ b/intern/cycles/blender/CMakeLists.txt
@@ -49,8 +49,10 @@ add_definitions(-DGLEW_STATIC)
blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}")
-if(${CMAKE_GENERATOR} MATCHES "Xcode" AND "${XCODE_VERSION}" VERSION_GREATER 5.0) # avoid link failure with clang 3.4 debug
- SET_TARGET_PROPERTIES(bf_intern_cycles PROPERTIES XCODE_ATTRIBUTE_CLANG_DEBUG_INFORMATION_LEVEL "line-tables-only") # -gline-tables-only
+if(APPLE)
+ if(${CMAKE_GENERATOR} MATCHES "Xcode" AND ${XCODE_VERSION} VERSION_GREATER 5.0) # avoid link failure with clang 3.4 debug
+ SET_TARGET_PROPERTIES(bf_intern_cycles PROPERTIES XCODE_ATTRIBUTE_CLANG_DEBUG_INFORMATION_LEVEL "line-tables-only") # -gline-tables-only
+ endif()
endif()
add_dependencies(bf_intern_cycles bf_rna)