mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 08:05:52 +01: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" )
|
if( ${_OPT}use_wxwidgets STREQUAL "system" )
|
||||||
|
# Make sure shared libs are preferred over static
|
||||||
|
set( BUILD_SHARED_LIBS YES )
|
||||||
find_package(wxWidgets)
|
find_package(wxWidgets)
|
||||||
|
unset( BUILD_SHARED_LIBS )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if( wxWidgets_FOUND )
|
if( wxWidgets_FOUND )
|
||||||
|
|||||||
Reference in New Issue
Block a user