diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-02-21 07:56:11 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-02-21 07:56:11 +0300 |
commit | 8b235dd2e3995a61e2a7db1ac2bc9eefe1394456 (patch) | |
tree | 819bac0c709c87fbc5e80c056708a6dd7165fcd4 /source | |
parent | e644da1f8e3522205b529bc7b397096db2e9e069 (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')
-rw-r--r-- | source/blender/makesrna/intern/CMakeLists.txt | 2 |
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 |