From dd845692df469e6a9e8b8f59f07b762b22685962 Mon Sep 17 00:00:00 2001 From: Shirasawa <764798966@qq.com> Date: Fri, 8 Dec 2023 06:05:52 +0800 Subject: [PATCH] Update --- CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8ca32d..13257a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,17 +78,18 @@ if(MSVC) endif() target_compile_definitions(${PROJECT_NAME} - PRIVATE + PUBLIC JUCE_WEB_BROWSER=0 JUCE_USE_CURL=0 JUCE_APPLICATION_NAME_STRING="$" JUCE_APPLICATION_VERSION_STRING="$") target_link_libraries(${PROJECT_NAME} + PUBLIC + juce::juce_recommended_config_flags + juce::juce_recommended_lto_flags + juce::juce_recommended_warning_flags PRIVATE juce::juce_gui_extra juce::juce_audio_utils - java_shared_memory - juce::juce_recommended_config_flags - juce::juce_recommended_lto_flags - juce::juce_recommended_warning_flags) + java_shared_memory)