[Bf-blender-cvs] [5b6e32b8eaa] temp-gpencil-bezier-stroke-type: Fix compile error: Missing include paths

Falk David noreply at git.blender.org
Tue Apr 13 11:29:20 CEST 2021


Commit: 5b6e32b8eaa7e0dd8d3345971498cb5642a50d95
Author: Falk David
Date:   Tue Apr 13 09:47:52 2021 +0200
Branches: temp-gpencil-bezier-stroke-type
https://developer.blender.org/rB5b6e32b8eaa7e0dd8d3345971498cb5642a50d95

Fix compile error: Missing include paths

rB8d9fd0427dd6 added the `WITH_GMP` definition but did not append the
include paths.

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

M	source/blender/nodes/CMakeLists.txt

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

diff --git a/source/blender/nodes/CMakeLists.txt b/source/blender/nodes/CMakeLists.txt
index f9331d8aa7f..8a426042039 100644
--- a/source/blender/nodes/CMakeLists.txt
+++ b/source/blender/nodes/CMakeLists.txt
@@ -394,6 +394,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