From f075f2babbb817d7679ce919231e63a4ff2a0893 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 16 Jan 2012 18:49:10 +0000 Subject: [PATCH] Corrected fix for linking issues with blenderplayer enabled --- source/blenderplayer/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt index 2996d4366dc..223df9c8b6a 100644 --- a/source/blenderplayer/CMakeLists.txt +++ b/source/blenderplayer/CMakeLists.txt @@ -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()