We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b402827 commit f5afc7eCopy full SHA for f5afc7e
cmake/modules/SwiftSharedCMakeConfig.cmake
@@ -159,7 +159,7 @@ endmacro()
159
macro(swift_common_standalone_build_config_clang product)
160
find_package(Clang CONFIG REQUIRED NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
161
162
- if (NOT CMAKE_CROSSCOMPILING)
+ if (NOT CMAKE_CROSSCOMPILING AND NOT SWIFT_CROSS_COMPILING)
163
set(${product}_NATIVE_CLANG_TOOLS_PATH "${LLVM_TOOLS_BINARY_DIR}")
164
endif()
165
0 commit comments