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 c3cb79a commit 5d3321dCopy full SHA for 5d3321d
cmake/modules/SwiftSupport.cmake
@@ -151,7 +151,9 @@ function(add_swift_target target)
151
${documentation})
152
else()
153
add_library(${target}-static STATIC ${objs})
154
- add_dependencies(${target}-static ${AST_DEPENDS})
+ if(AST_DEPENDS)
155
+ add_dependencies(${target}-static ${AST_DEPENDS})
156
+ endif()
157
get_filename_component(ast_output_bn ${AST_OUTPUT} NAME)
158
string(REGEX REPLACE "^${CMAKE_STATIC_LIBRARY_PREFIX}" "" ast_output_bn ${ast_output_bn})
159
string(REGEX REPLACE "${CMAKE_STATIC_LIBRARY_SUFFIX}$" "" ast_output_bn ${ast_output_bn})
0 commit comments