Skip to content

Commit 87329bf

Browse files
authored
Merge pull request #5107 from modocache/swiftshims-clang-header-locations
[SwiftShims] Improve CMake Clang headers error
2 parents 653eda7 + a6a072f commit 87329bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SwiftShims/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if(SWIFT_BUILT_STANDALONE)
6666
endif()
6767
endforeach()
6868
if("${clang_headers_location}" STREQUAL "")
69-
message(FATAL_ERROR "Clang headers were not found")
69+
message(FATAL_ERROR "Clang headers were not found in any of the following locations: ${clang_headers_locations}")
7070
endif()
7171
else() # NOT SWIFT_BUILT_STANDALONE
7272
set(clang_headers_location "${LLVM_LIBRARY_DIR}/clang/${CLANG_VERSION}")

0 commit comments

Comments
 (0)