diff options
Diffstat (limited to 'source/blender/bmesh/CMakeLists.txt')
-rw-r--r-- | source/blender/bmesh/CMakeLists.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/source/blender/bmesh/CMakeLists.txt b/source/blender/bmesh/CMakeLists.txt index cead636404b..5e2a689bc95 100644 --- a/source/blender/bmesh/CMakeLists.txt +++ b/source/blender/bmesh/CMakeLists.txt @@ -135,7 +135,7 @@ set(SRC tools/bmesh_bevel.h tools/bmesh_bisect_plane.c tools/bmesh_bisect_plane.h - tools/bmesh_boolean.c + tools/bmesh_boolean.cc tools/bmesh_boolean.h tools/bmesh_decimate.h tools/bmesh_decimate_collapse.c @@ -199,4 +199,16 @@ if(WITH_FREESTYLE) add_definitions(-DWITH_FREESTYLE) endif() +if(WITH_GMP) + add_definitions(-DWITH_GMP) + + list(APPEND INC_SYS + ${GMP_INCLUDE_DIRS} + ) + + list(APPEND LIB + ${GMP_LIBRARIES} + ) +endif() + blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") |