mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Windows: Fix compatibility with older cmake
Older cmake did not find the BlendThumb sub project.
This commit is contained in:
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue