forked from bartvdbraak/blender
Windows: Fix compatibility with older cmake
Older cmake did not find the BlendThumb sub project.
This commit is contained in:
parent
d8bc28ca20
commit
f430685d2d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user