mirror of
https://codeberg.org/armin/chromaflock.git
synced 2026-09-01 04:10:47 +02:00
Fix some compiler warnings when building JUCE
This commit is contained in:
parent
8977e2d3c4
commit
0beebaa46d
3 changed files with 17 additions and 14 deletions
|
|
@ -4,6 +4,10 @@ project(ChromaFlock VERSION 1.0.0 LANGUAGES C CXX)
|
|||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
add_compile_options(
|
||||
$<$<CXX_COMPILER_ID:Clang,AppleClang>:-Wno-nontrivial-memcall>
|
||||
)
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/JUCE/CMakeLists.txt")
|
||||
|
|
@ -66,7 +70,6 @@ target_compile_definitions(ChromaFlock PUBLIC
|
|||
JUCE_VST3_CAN_REPLACE_VST2=0
|
||||
JUCE_WEB_BROWSER=0
|
||||
JUCE_USE_CURL=0
|
||||
JUCE_DISPLAY_SPLASH_SCREEN=0
|
||||
JUCE_PLUGIN_WANTS_MIDI=1
|
||||
JUCE_MODAL_LOOPS_PERMITTED=0
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue