diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2020-07-01 16:15:17 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2020-07-01 16:15:17 +0300 |
commit | 590ce6817d76b01d1eff0a54bf2f5240596ccefa (patch) | |
tree | 104aedae2a24822ddf352a7d765b8068eecb7cda /source/blender/bmesh/CMakeLists.txt | |
parent | a62bca844ce10dec2e4835db804f3c84c3ff5d58 (diff) |
Change bmesh_boolean.c into a C++ file and start using PolyMesh interface.
Also, use BLI_math_mpq.hh everywhere instead of gmpxx.h.
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}") |