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 0957656 commit 09be99bCopy full SHA for 09be99b
llvm/cmake/modules/AddLLVM.cmake
@@ -1359,6 +1359,14 @@ function(export_executable_symbols target)
1359
while(NOT "${new_libs}" STREQUAL "")
1360
foreach(lib ${new_libs})
1361
if(TARGET ${lib})
1362
+ # If this is a ALIAS target, continue with its aliasee instead.
1363
+ get_target_property(aliased_lib ${lib} ALIASED_TARGET)
1364
+ if(aliased_lib)
1365
+ set(new_libs ${lib_aliased_target})
1366
+ list(APPEND newer_libs ${aliased_lib})
1367
+ continue()
1368
+ endif()
1369
+
1370
get_target_property(lib_type ${lib} TYPE)
1371
if("${lib_type}" STREQUAL "STATIC_LIBRARY")
1372
list(APPEND static_libs ${lib})
0 commit comments