We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7014fcf + 5ac32e7 commit 94c2be8Copy full SHA for 94c2be8
cmake/modules/Libdispatch.cmake
@@ -145,6 +145,10 @@ foreach(sdk ${DISPATCH_SDKS})
145
146
ExternalProject_Get_Property("${LIBDISPATCH_VARIANT_NAME}" install_dir)
147
148
+ if(NOT SWIFT_BUILT_STANDALONE AND NOT "${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
149
+ add_dependencies("${LIBDISPATCH_VARIANT_NAME}" clang)
150
+ endif()
151
+
152
# CMake does not like the addition of INTERFACE_INCLUDE_DIRECTORIES without
153
# the directory existing. Just create the location which will be populated
154
# during the installation.
0 commit comments