1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

Prefer shared libs over static

This commit is contained in:
Leland Lucius 2020-04-06 07:31:32 -05:00
parent 2e1267582b
commit 5cd94707f8

View File

@ -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 )