[Bf-blender-cvs] [217dbfe] master: Fix for compilation error since previous fix for XCode

Sergey Sharybin noreply at git.blender.org
Thu Mar 13 10:29:07 CET 2014


Commit: 217dbfeba52ff7a3628290a6fcb9623aa9ff01cf
Author: Sergey Sharybin
Date:   Thu Mar 13 15:28:45 2014 +0600
https://developer.blender.org/rB217dbfeba52ff7a3628290a6fcb9623aa9ff01cf

Fix for compilation error since previous fix for XCode

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

M	intern/cycles/blender/CMakeLists.txt

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

diff --git a/intern/cycles/blender/CMakeLists.txt b/intern/cycles/blender/CMakeLists.txt
index 2990859..265c433 100644
--- a/intern/cycles/blender/CMakeLists.txt
+++ b/intern/cycles/blender/CMakeLists.txt
@@ -49,7 +49,7 @@ 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
+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()




More information about the Bf-blender-cvs mailing list