Cleanup: CMake: Modernize bf_windowmanager dependencies

Pretty straightforward

- Remove any bf_windowmanager 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/132310
This commit is contained in:
Ray Molenkamp
2024-12-24 22:40:38 +01:00
committed by Ray molenkamp
parent 0ba91e9870
commit 54604efdfd
71 changed files with 72 additions and 78 deletions

View File

@@ -10,7 +10,6 @@ set(INC
../../imbuf
../../imbuf/intern/oiio
../../makesrna
../../windowmanager
../../../../intern/mantaflow/extern
../../../../intern/opencolorio
# RNA_prototypes.hh
@@ -133,6 +132,7 @@ set(LIB
${PYTHON_LINKFLAGS}
${PYTHON_LIBRARIES}
PRIVATE bf::windowmanager
)
# Only to check if `buildinfo` is available.