Commit: 67fc520ab8833ed4c27a4cdf4eb7f93b7ef55904
Author: Jens Verwiebe
Date:   Thu Mar 13 11:06:43 2014 +0100
https://developer.blender.org/rB67fc520ab8833ed4c27a4cdf4eb7f93b7ef55904

Cmake: fix compile problem after own commit

===================================================================

M       intern/cycles/blender/CMakeLists.txt

===================================================================

diff --git a/intern/cycles/blender/CMakeLists.txt 
b/intern/cycles/blender/CMakeLists.txt
index 265c433..8aeaa9b 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)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to