Corrected fix for linking issues with blenderplayer enabled
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Jan 2012 18:49:10 +0000 (18:49 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Jan 2012 18:49:10 +0000 (18:49 +0000)
source/blenderplayer/CMakeLists.txt

index 2996d4366dc78d1c7ce5a55658d3855e073b18b5..223df9c8b6abb1e2ce8178a38f42754b5a9c6794 100644 (file)
@@ -150,7 +150,6 @@ endif()
                bf_blenkernel # duplicate for linking
                bf_intern_mikktspace
                extern_recastnavigation
-               extern_carve
        )
 
        if(WITH_MOD_CLOTH_ELTOPO)
@@ -181,6 +180,10 @@ endif()
                list(APPEND BLENDER_SORTED_LIBS bf_intern_moto)
        endif()
 
+       if(WITH_CARVE)
+               list(APPEND BLENDER_SORTED_LIBS extern_carve)
+       endif()
+
        if(WITH_CODEC_QUICKTIME)
                list(APPEND BLENDER_SORTED_LIBS bf_quicktime)
        endif()