commit | 70ce1ad64a04a244bb1c03753da0752c61fc3a37 | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Mon Aug 10 13:29:29 2020 -0400 |
committer | Brad King <brad.king@kitware.com> | Mon Aug 10 13:29:29 2020 -0400 |
tree | 25a2ad7a6da50c3212001dd9085097c96cbaa231 | |
parent | 63a65baf4c343c73b2142078ef0045d3711dea1d [diff] |
PCH: Avoid Apple-specific architecture flags on other platforms Since commit f593b354da (PCH: Add support for multi architecture iOS projects, 2020-04-02, v3.18.0-rc1~414^2) the `OSX_ARCHITECTURES` target property (and corresponding `CMAKE_OSX_ARCHITECTURES` variable) affects flags on non-Apple platforms by accident. Add a missing condition to avoid this. Fixes: #21072