diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2020-10-08 17:17:45 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2020-10-08 17:20:43 +0300 |
commit | d7f482f88ecba7cf8f864f3bd092506c88c78f25 (patch) | |
tree | 093d49f47fa6a3dad917e8640d75c176705bdd6d /source/blender/editors/mesh | |
parent | 4ee1332bdfff531fc54d3725a1ce008682ee772e (diff) |
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
Diffstat (limited to 'source/blender/editors/mesh')
0 files changed, 0 insertions, 0 deletions