mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-11 17:13:37 +02:00
Prefer shared libs over static
This commit is contained in:
@@ -13,7 +13,10 @@ cmd_option( ${_OPT}use_wxwidgets
|
||||
)
|
||||
|
||||
if( ${_OPT}use_wxwidgets STREQUAL "system" )
|
||||
# Make sure shared libs are preferred over static
|
||||
set( BUILD_SHARED_LIBS YES )
|
||||
find_package(wxWidgets)
|
||||
unset( BUILD_SHARED_LIBS )
|
||||
endif()
|
||||
|
||||
if( wxWidgets_FOUND )
|
||||
|
Reference in New Issue
Block a user