Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-10-20 04:10:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-20 04:15:33 +0300
commitfd7510984a6d472969436721031ae309ec4981a0 (patch)
treef8eebf3651bccfb8ad605c818496056e8ece1bd0 /source/blender/CMakeLists.txt
parentb280699078eee23bd8eb572668d6f0d8972d879a (diff)
CMake: add WITH_BLENDER_THUMBNAILER option
Make building the thumbnail extraction executable optional, disable on macOS as this was not linking, further, macOS doesn't use this for thumbnail extraction so it could be left disabled.
Diffstat (limited to 'source/blender/CMakeLists.txt')
-rw-r--r--source/blender/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/CMakeLists.txt b/source/blender/CMakeLists.txt
index 0a494677d96..c6112344208 100644
--- a/source/blender/CMakeLists.txt
+++ b/source/blender/CMakeLists.txt
@@ -131,7 +131,10 @@ add_subdirectory(io)
add_subdirectory(functions)
add_subdirectory(makesdna)
add_subdirectory(makesrna)
-add_subdirectory(blendthumb)
+
+if(WITH_BLENDER_THUMBNAILER)
+ add_subdirectory(blendthumb)
+endif()
if(WITH_COMPOSITOR)
add_subdirectory(compositor)