[Bf-blender-cvs] [6578f9d1e99] master: Modifiers: Fix build error with GMP

Ankit Meel noreply at git.blender.org
Fri Apr 2 10:18:59 CEST 2021


Commit: 6578f9d1e9981f2c52824654fb6ad267ba8ca3b4
Author: Ankit Meel
Date:   Fri Apr 2 13:48:22 2021 +0530
Branches: master
https://developer.blender.org/rB6578f9d1e9981f2c52824654fb6ad267ba8ca3b4

Modifiers: Fix build error with GMP

===================================================================

M	source/blender/modifiers/CMakeLists.txt

===================================================================

diff --git a/source/blender/modifiers/CMakeLists.txt b/source/blender/modifiers/CMakeLists.txt
index 5fc88846527..54caaed9231 100644
--- a/source/blender/modifiers/CMakeLists.txt
+++ b/source/blender/modifiers/CMakeLists.txt
@@ -181,6 +181,14 @@ endif()
 
 if(WITH_GMP)
   add_definitions(-DWITH_GMP)
+
+  list(APPEND INC_SYS
+    ${GMP_INCLUDE_DIRS}
+  )
+
+  list(APPEND LIB
+    ${GMP_LIBRARIES}
+  )
 endif()
 
 if(WITH_OPENVDB)



More information about the Bf-blender-cvs mailing list