mirror of
https://codeberg.org/armin/beamgrid.git
synced 2026-09-01 04:10:47 +02:00
disable JUCE libcurl usage on Linux to avoid curl link errors
This commit is contained in:
parent
5f284b0f50
commit
63877c0d4b
1 changed files with 7 additions and 0 deletions
|
|
@ -64,6 +64,13 @@ target_link_libraries(BEAMGRID PRIVATE
|
|||
juce::juce_gui_extra
|
||||
)
|
||||
|
||||
# This plugin does not use any networking, so disable JUCE's libcurl usage on
|
||||
# Linux. Otherwise the build fails to link with undefined references to the
|
||||
# curl_* symbols (see CURLSymbols in juce_core.cpp).
|
||||
if(UNIX AND NOT APPLE)
|
||||
target_compile_definitions(BEAMGRID PUBLIC JUCE_USE_CURL=0)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(BEAMGRID PROPERTIES
|
||||
CMAKE_OSX_DEPLOYMENT_TARGET "10.15"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue