[Bf-blender-cvs] [721ff6ad122] master: Fix compile error: Missing include paths
Falk David
noreply at git.blender.org
Tue Apr 13 09:48:04 CEST 2021
Commit: 721ff6ad12266d5c8cf7406696c948089d17d64e
Author: Falk David
Date: Tue Apr 13 09:47:52 2021 +0200
Branches: master
https://developer.blender.org/rB721ff6ad12266d5c8cf7406696c948089d17d64e
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