mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
Prefer shared libs over static
This commit is contained in:
parent
2e1267582b
commit
5cd94707f8
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user