summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-10 17:29:29 (GMT)
committerBrad King <brad.king@kitware.com>2020-08-10 17:29:29 (GMT)
commit70ce1ad64a04a244bb1c03753da0752c61fc3a37 (patch)
tree25a2ad7a6da50c3212001dd9085097c96cbaa231 /Modules/FindPython.cmake
parent63a65baf4c343c73b2142078ef0045d3711dea1d (diff)
downloadCMake-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