summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-08-15 13:34:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-08-15 13:35:07 (GMT)
commit955d2b8847a0709b3c79b06de4fcb2028811fd8a (patch)
treecaf5b244d0ee75fe166d0356dde725415195bf16 /Modules
parent24cc66af216ec9221af22a6af0b8785c4045a075 (diff)
parent8b0f0dc25779515c7904cd2286a54e6055cb9f19 (diff)
downloadCMake-955d2b8847a0709b3c79b06de4fcb2028811fd8a.zip
CMake-955d2b8847a0709b3c79b06de4fcb2028811fd8a.tar.gz
CMake-955d2b8847a0709b3c79b06de4fcb2028811fd8a.tar.bz2
Merge topic 'TAPI-is-Apple-only' into release-3.27
8b0f0dc257 Apple Text Stubs (.tbd): various fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8708
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeFindBinUtils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake
index 327ef0b..f778891 100644
--- a/Modules/CMakeFindBinUtils.cmake
+++ b/Modules/CMakeFindBinUtils.cmake
@@ -229,7 +229,7 @@ if(NOT CMAKE_RANLIB)
set(CMAKE_RANLIB : CACHE INTERNAL "noop for ranlib")
endif()
-if(NOT CMAKE_TAPI)
+if(APPLE AND "TAPI" IN_LIST _CMAKE_TOOL_VARS AND NOT CMAKE_TAPI)
# try to pick-up from Apple toolchain
execute_process(COMMAND xcrun --find tapi
OUTPUT_VARIABLE _xcrun_out