gentoo-ebuilds/media-gfx/blender/files/blender-4.0.2-FindClang.patch
Paul Zander 175d65e779
media-gfx/blender: add 4.0.2-r1, cleanup
hopefully fixed osl build
re-added hip flag in 4.0.2-r1
hide test code in release versions

Bug: https://bugs.gentoo.org/693200
Closes: https://bugs.gentoo.org/925534
Closes: https://bugs.gentoo.org/927281
Closes: https://bugs.gentoo.org/927715
Closes: https://bugs.gentoo.org/927835
Closes: https://bugs.gentoo.org/927931
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35973
Signed-off-by: Sam James <sam@gentoo.org>
2024-04-21 13:50:05 +01:00

14 lines
451 B
Diff

From: Paul Zander <negril.nx+gentoo@gmail.com>
look for the merged clang library so we can find clang
diff --git a/build_files/cmake/Modules/FindClang.cmake b/build_files/cmake/Modules/FindClang.cmake
index 1957c63..5620b84 100644
--- a/build_files/cmake/Modules/FindClang.cmake
+++ b/build_files/cmake/Modules/FindClang.cmake
@@ -85,6 +85,7 @@ set(_CLANG_FIND_COMPONENTS
clangAST
clangLex
clangBasic
+ clang-cpp
)
set(_CLANG_LIBRARIES)