Blender Git Loki

Git Commits -> Revision 8312485

Revision 8312485 by Ankit Meel (master)
October 19, 2020, 13:17 (GMT)
Cmake/macOS: strictly disallow searching in frameworks

This is a stricter version of the change made in
{rBbb872b25f219d1a9bc2446228b6dc}

Cmake must never look into Frameworks when the system
library guards (`without_system_libs_begin`/`without_system_libs_end`)
are present.

OpenAL didn't follow this and OpenAL.framework in Xcode would be used.
The Cmake's `FindOpenAL.cmake` looks for both library (in this case,
the .framework file), and include dir.
Precompiled libraries don't contain the former. So `find_package`
cannot be used, or it becomes the hack that {rBb2c707747da9} removed.
So hardcode the include dir path, and other variables.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9267

Commit Details:

Full Hash: 83124856d05ee4da605ab247e6286755690e54dd
Parent Commit: 4d9f357
Lines Changed: +7, -7

2 Modified Paths:

/build_files/cmake/macros.cmake (+1, -1) (Diff)
/build_files/cmake/platform/platform_apple.cmake (+6, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021