diff options
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 45bfc3d6bdb..1d5d1491c7a 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -515,10 +515,12 @@ if(UNIX AND NOT APPLE) DESTINATION "." ) - install( - TARGETS blender-thumbnailer - DESTINATION "." - ) + if(WITH_BLENDER_THUMBNAILER) + install( + TARGETS blender-thumbnailer + DESTINATION "." + ) + endif() if(EXISTS ${LIBDIR}/mesa) install(DIRECTORY ${LIBDIR}/mesa/lib DESTINATION ".") @@ -558,10 +560,12 @@ if(UNIX AND NOT APPLE) FILES ${CMAKE_SOURCE_DIR}/release/freedesktop/icons/symbolic/apps/blender-symbolic.svg DESTINATION share/icons/hicolor/symbolic/apps ) - install( - TARGETS blender-thumbnailer - DESTINATION bin - ) + if(WITH_BLENDER_THUMBNAILER) + install( + TARGETS blender-thumbnailer + DESTINATION bin + ) + endif() set(BLENDER_TEXT_FILES_DESTINATION share/doc/blender) endif() |