From d2cc65cd1cf3eac095cf0305b80af35a27f2521b Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Wed, 20 Aug 2014 13:35:45 +0900 Subject: [PATCH] Fix for missing updates of build scripts in the commit rB05cb63ecf750. --- source/blender/makesrna/intern/CMakeLists.txt | 4 ++++ source/blender/makesrna/intern/SConscript | 3 +++ 2 files changed, 7 insertions(+) diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt index 6a0208a49e9..15f5253257a 100644 --- a/source/blender/makesrna/intern/CMakeLists.txt +++ b/source/blender/makesrna/intern/CMakeLists.txt @@ -264,6 +264,10 @@ if(WITH_BULLET) add_definitions(-DWITH_BULLET) endif() +if(WITH_FREESTYLE) + add_definitions(-DWITH_FREESTYLE) +endif() + # Build makesrna executable blender_include_dirs( . diff --git a/source/blender/makesrna/intern/SConscript b/source/blender/makesrna/intern/SConscript index ff75d9a1721..08cbd6143a5 100644 --- a/source/blender/makesrna/intern/SConscript +++ b/source/blender/makesrna/intern/SConscript @@ -141,6 +141,9 @@ if env['WITH_BF_COLLADA']: if env['WITH_BF_CYCLES']: defs.append('WITH_CYCLES') +if env['WITH_BF_FREESTYLE']: + defs.append('WITH_FREESTYLE') + if env['OURPLATFORM'] == 'linux': cflags='-pthread' -- 2.23.0