Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blendthumb/CMakeLists.txt')
-rw-r--r--source/blender/blendthumb/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blendthumb/CMakeLists.txt b/source/blender/blendthumb/CMakeLists.txt
index 4c2e72418a0..e2d278255ba 100644
--- a/source/blender/blendthumb/CMakeLists.txt
+++ b/source/blender/blendthumb/CMakeLists.txt
@@ -60,7 +60,11 @@ else()
# -----------------------------------------------------------------------------
# Build `blender-thumbnailer` executable
- add_executable(blender-thumbnailer ${SRC} src/blender_thumbnailer.cc)
+ set(SRC_CMD
+ src/blender_thumbnailer.cc
+ )
+
+ add_executable(blender-thumbnailer ${SRC} ${SRC_CMD})
target_link_libraries(blender-thumbnailer bf_blenlib)
target_link_libraries(blender-thumbnailer ${PTHREADS_LIBRARIES})
endif()