mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 23:59:37 +02:00
Remove unnecessary ALIAS definition
No longer needed after removal of old build system
This commit is contained in:
parent
e7decd8013
commit
a1dca132a8
@ -122,22 +122,6 @@ function( addlib dir name symbol required check )
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
# Define a library alias for each of the packages
|
||||
foreach( package ${packages} )
|
||||
# Convert the package spec to a list
|
||||
string( REPLACE " " ";" package "${package}" )
|
||||
|
||||
# And extract just the package name
|
||||
list( GET package 0 package )
|
||||
|
||||
# But only if the package name doesn't conflict with the
|
||||
# target name.
|
||||
if( NOT TARGET ${package} )
|
||||
# Create the alias
|
||||
add_library( "${package}" ALIAS ${TARGET} )
|
||||
endif()
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
||||
# Required libraries
|
||||
|
Loading…
x
Reference in New Issue
Block a user