diff options
author | Brad King <brad.king@kitware.com> | 2020-08-10 17:29:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-08-10 17:29:29 (GMT) |
commit | 70ce1ad64a04a244bb1c03753da0752c61fc3a37 (patch) | |
tree | 25a2ad7a6da50c3212001dd9085097c96cbaa231 /Modules/FindPython.cmake | |
parent | 63a65baf4c343c73b2142078ef0045d3711dea1d (diff) | |
download | CMake-70ce1ad64a04a244bb1c03753da0752c61fc3a37.zip CMake-70ce1ad64a04a244bb1c03753da0752c61fc3a37.tar.gz CMake-70ce1ad64a04a244bb1c03753da0752c61fc3a37.tar.bz2 |
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
Diffstat (limited to 'Modules/FindPython.cmake')
0 files changed, 0 insertions, 0 deletions