mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
CMake function addlib can be called multiply for the same library
This commit is contained in:
parent
ec3d2424a5
commit
29a657bc77
@ -443,6 +443,10 @@ function( addlib dir name symbol required check )
|
|||||||
# Let the Audacity target know that this library will be used
|
# Let the Audacity target know that this library will be used
|
||||||
set( USE_${symbol} ON CACHE INTERNAL "" FORCE )
|
set( USE_${symbol} ON CACHE INTERNAL "" FORCE )
|
||||||
|
|
||||||
|
if ( TARGET "${TARGET}" )
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
message( STATUS "========== Configuring ${name} ==========" )
|
message( STATUS "========== Configuring ${name} ==========" )
|
||||||
|
|
||||||
# Check for the system package(s) if the user prefers it
|
# Check for the system package(s) if the user prefers it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user