diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2021-10-28 22:03:47 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2021-10-28 22:13:47 +0300 |
commit | 690300eb4acd01ecada000c5ce6162c2437f9f6b (patch) | |
tree | 66081a38155050b9530c9fb59422c4336fc0ea91 /source/creator | |
parent | db8be0cdfbaf9346af931a56da8df92f84845db3 (diff) |
Fix install paths for blender thumbnailer when not building a portable install
When doing a non portable build of blender, the executable
blender-thumbnailer would be installed in two locations:
/usr/bin/
/usr/
While cleaning up, also make the blender thumbnailer dll optional on
windows to bring the logic in line with what it is on linux and mac.
Reviewed By: Campbell Barton, Ray molenkamp
Differential Revision: http://developer.blender.org/D13014
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index de560e39606..816d3a60fc3 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -990,6 +990,13 @@ elseif(WIN32) DESTINATION "." ) + if(WITH_BLENDER_THUMBNAILER) + install( + TARGETS BlendThumb + DESTINATION "." + ) + endif() + if(WITH_DRACO) install( PROGRAMS $<TARGET_FILE:extern_draco> |