svn merge ^/trunk/blender -r44204:44213
[blender.git] / source / creator / CMakeLists.txt
index 057c19dd5c450347d4b3b00009a6b6c150ef4c95..b39d2a5b5c2fbe000b51fcb65b3e7c68b181f05d 100644 (file)
@@ -830,7 +830,6 @@ endif()
                extern_minilzo
                extern_lzma
                extern_colamd
-               extern_xdnd
                ge_logic_ketsji
                extern_recastnavigation
                ge_phys_common
@@ -894,6 +893,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})