diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-20 04:10:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-20 04:15:33 +0300 |
commit | fd7510984a6d472969436721031ae309ec4981a0 (patch) | |
tree | f8eebf3651bccfb8ad605c818496056e8ece1bd0 /source/blender | |
parent | b280699078eee23bd8eb572668d6f0d8972d879a (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')
-rw-r--r-- | source/blender/CMakeLists.txt | 5 |
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) |