Blender Git Loki

Git Commits -> Revision d7f482f

Revision d7f482f by Ankit Meel (master)
October 8, 2020, 14:20 (GMT)
CMake/macOS: Avoid passing compiler flags to try_compile.

`APPLE` platform handles ASan compiler and linker flags using
`add_compile_options` and `add_link_options`. {rB74bcb32c9f02}

Arguments in `CMAKE_{LANG}_FLAGS{_CONFIG}` are also passed to
`try_compile` which will fail due to linker errors, since link flags
are not set. `try_compile` is used by `find_package(Boost)` for
`thread` library.

See CMP0066 [1] also.

[1] https://cmake.org/cmake/help/latest/policy/CMP0066.html

Ref D8855

Commit Details:

Full Hash: d7f482f88ecba7cf8f864f3bd092506c88c78f25
Parent Commit: 4ee1332
Lines Changed: +11, -5

1 Modified Path:

/CMakeLists.txt (+11, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021