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:
authorRay Molenkamp <github@lazydodo.com>2019-02-21 07:56:11 +0300
committerRay Molenkamp <github@lazydodo.com>2019-02-21 07:56:11 +0300
commit8b235dd2e3995a61e2a7db1ac2bc9eefe1394456 (patch)
tree819bac0c709c87fbc5e80c056708a6dd7165fcd4 /source/blender/makesrna/intern/CMakeLists.txt
parente644da1f8e3522205b529bc7b397096db2e9e069 (diff)
makesrna: Fix build error on windows.
rB94f83a4ebd929e7c4f405b1c78d9db842dfe1689 introduced a dependency on pthreads but did not add it to the linker inputs.
Diffstat (limited to 'source/blender/makesrna/intern/CMakeLists.txt')
-rw-r--r--source/blender/makesrna/intern/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt
index 5188ac425bf..255220245e0 100644
--- a/source/blender/makesrna/intern/CMakeLists.txt
+++ b/source/blender/makesrna/intern/CMakeLists.txt
@@ -351,7 +351,7 @@ setup_platform_linker_flags()
add_executable(makesrna ${SRC} ${SRC_RNA_INC} ${SRC_DNA_INC})
target_link_libraries(makesrna bf_dna)
-target_link_libraries(makesrna bf_dna_blenlib)
+target_link_libraries(makesrna bf_dna_blenlib ${PTHREADS_LIBRARIES})
# Output rna_*_gen.c
# note (linux only): with crashes try add this after COMMAND: valgrind --leak-check=full --track-origins=yes