1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Transitive link dependencies via Audacity simplify module CMakeLists

This commit is contained in:
Paul Licameli
2021-02-15 14:44:49 -05:00
committed by Leland Lucius
parent 938bbeb4f9
commit ca7d96f20a
5 changed files with 9 additions and 32 deletions

View File

@@ -1043,7 +1043,7 @@ list( APPEND LDFLAGS
#
#
list( APPEND LIBRARIES
PRIVATE
PUBLIC
${CMAKE_REQUIRED_LIBRARIES}
wxWidgets
expat
@@ -1306,7 +1306,7 @@ target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
target_link_options( ${TARGET} PRIVATE ${LDFLAGS} )
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
target_link_libraries( ${TARGET} ${LIBRARIES} )
# If was have cmake 3.16 or higher, we can use precompiled headers, but
# only use them if ccache is not available and the user hasn't disabled