diff options
author | Stefan Werner <stefan.werner@tangent-animation.com> | 2020-06-29 15:04:12 +0300 |
---|---|---|
committer | Stefan Werner <stefan.werner@tangent-animation.com> | 2020-06-29 15:06:00 +0300 |
commit | 0d2e628964763a5ad872d51aec07bd551cbb2272 (patch) | |
tree | 43a62d88b87a69e236a115e154030dca0b8abc7c | |
parent | 9afad1de442344fecfb65f371981f1a624de23a5 (diff) |
Build: Point ISPC explicitly to the location of LLVM libraries.
Sometimes the ISPC build could pick up the system LLVM librareis
instead of the ones in the Blender lib directory.
-rw-r--r-- | build_files/build_environment/cmake/ispc.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/ispc.cmake b/build_files/build_environment/cmake/ispc.cmake index 1896c85bc88..0bb5db82aea 100644 --- a/build_files/build_environment/cmake/ispc.cmake +++ b/build_files/build_environment/cmake/ispc.cmake @@ -30,6 +30,7 @@ set(ISPC_EXTRA_ARGS -DISPC_INCLUDE_EXAMPLES=Off -DISPC_INCLUDE_TESTS=Off -DLLVM_ROOT=${LIBDIR}/llvm/lib/cmake/llvm + -DLLVM_LIBRARY_DIR=${LIBDIR}/llvm/lib -DCLANG_EXECUTABLE=${LIBDIR}/clang/bin/clang -DISPC_INCLUDE_TESTS=Off -DCLANG_LIBRARY_DIR=${LIBDIR}/clang/lib |