Cleanup: CMake: Modernize bf_render dependencies

Pretty straightforward

- Remove any bf_render paths from INC
- Add a dependency though LIB when missing

context: https://devtalk.blender.org/t/cmake-cleanup/30260

Pull Request: https://projects.blender.org/blender/blender/pulls/132355
This commit is contained in:
Ray Molenkamp
2024-12-26 18:50:53 +01:00
committed by Ray molenkamp
parent 34e24f53c8
commit 16eb4430f5
29 changed files with 30 additions and 31 deletions

View File

@@ -6,7 +6,6 @@ set(INC
..
../../mikktspace
../../../source/blender/makesrna
../../../source/blender/render
${CMAKE_BINARY_DIR}/source/blender/makesrna/intern
)
@@ -61,6 +60,7 @@ set(LIB
PRIVATE bf::dna
PRIVATE bf::gpu
PRIVATE bf::intern::guardedalloc
PRIVATE bf::render
cycles_bvh
cycles_device
cycles_graph