Cmake: fix compile problem after own commit
This commit is contained in:
parent
94379277dd
commit
67fc520ab8
Notes:
blender-bot
2023-02-14 11:00:20 +01:00
Referenced by issue #39152, Blender crash when duplicate mesh with hooks and laplacian deform. Referenced by issue #39153, Bad size for the window frame of blender
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue