From f430685d2d286f2f43b68ea2debec4f124de9072 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Fri, 30 Aug 2019 11:40:46 -0600 Subject: [PATCH] Windows: Fix compatibility with older cmake Older cmake did not find the BlendThumb sub project. --- source/blender/blendthumb/CMakeLists.txt | 6 ++++++ source/creator/CMakeLists.txt | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/source/blender/blendthumb/CMakeLists.txt b/source/blender/blendthumb/CMakeLists.txt index 3f9e0b1bff5..669234550af 100644 --- a/source/blender/blendthumb/CMakeLists.txt +++ b/source/blender/blendthumb/CMakeLists.txt @@ -30,3 +30,9 @@ set(SRC add_library(BlendThumb SHARED ${SRC}) target_link_libraries(BlendThumb ${ZLIB_LIBRARIES}) + +install( + FILES $ + COMPONENT Blender + DESTINATION "." +) diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 893d3262590..1cd0a6661f8 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -1025,16 +1025,6 @@ if (WIN32) set_target_properties(blender PROPERTIES VS_GLOBAL_VcpkgEnabled "false") endif() -# ----------------------------------------------------------------------------- -# Thumbnailer -if(WIN32) - install( - TARGETS BlendThumb - COMPONENT Blender - DESTINATION "." - ) -endif() - # ----------------------------------------------------------------------------- # Setup launcher