- Fixed linking errors of blender player with CMake and XDND enabled

- Rest of changes to make XDND switch-off-able: link against extern_xdnd only
  if XDND is enabled
This commit is contained in:
Sergey Sharybin
2012-02-17 20:59:21 +00:00
parent 0aa9ab69cc
commit c628f04a7c
2 changed files with 8 additions and 1 deletions

View File

@@ -184,6 +184,10 @@ endif()
list(APPEND BLENDER_SORTED_LIBS extern_carve)
endif()
if(WITH_GHOST_XDND)
list(APPEND BLENDER_SORTED_LIBS extern_xdnd)
endif()
if(WITH_CODEC_QUICKTIME)
list(APPEND BLENDER_SORTED_LIBS bf_quicktime)
endif()

View File

@@ -829,7 +829,6 @@ endif()
extern_minilzo
extern_lzma
extern_colamd
extern_xdnd
ge_logic_ketsji
extern_recastnavigation
ge_phys_common
@@ -893,6 +892,10 @@ endif()
list(APPEND BLENDER_SORTED_LIBS extern_carve)
endif()
if(WITH_GHOST_XDND)
list(APPEND BLENDER_SORTED_LIBS extern_xdnd)
endif()
foreach(SORTLIB ${BLENDER_SORTED_LIBS})
set(REMLIB ${SORTLIB})
foreach(SEARCHLIB ${BLENDER_LINK_LIBS})