Fix #27785: blenderplayer + eltopo linking error.
[blender.git] / source / blenderplayer / CMakeLists.txt
index 5fe045fda1087df287690dc8cb71e33da4e71c51..9c60cdac22b399387dbf73a1acc04d55d2ec9058 100644 (file)
@@ -139,6 +139,10 @@ endif()
                bf_intern_mikktspace
        )
 
+       if(WITH_MOD_CLOTH_ELTOPO)
+               list(APPEND BLENDER_SORTED_LIBS extern_eltopo)
+       endif()
+
        if(WITH_BUILTIN_GLEW)
                list(APPEND BLENDER_SORTED_LIBS extern_glew)
        endif()