Windows: Fix compatibility with older cmake

Older cmake did not find the BlendThumb sub project.
This commit is contained in:
Ray Molenkamp 2019-08-30 11:40:46 -06:00
parent d8bc28ca20
commit f430685d2d
2 changed files with 6 additions and 10 deletions

@ -30,3 +30,9 @@ set(SRC
add_library(BlendThumb SHARED ${SRC})
target_link_libraries(BlendThumb ${ZLIB_LIBRARIES})
install(
FILES $<TARGET_FILE:BlendThumb>
COMPONENT Blender
DESTINATION "."
)

@ -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