We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f48765c commit d90ab21Copy full SHA for d90ab21
CMakeLists.txt
@@ -78,6 +78,14 @@ endif()
78
79
project(plugdata VERSION 0.9.3 LANGUAGES C CXX)
80
81
+include(CheckIPOSupported)
82
+check_ipo_supported(RESULT ipo_supported OUTPUT ipo_error)
83
+
84
+if (ipo_supported)
85
+ set(CMAKE_INTERPROCEDURAL_OPTIMIZATION
86
+ $<$<CONFIG:Release>:TRUE>)
87
+endif()
88
89
if(QUICK_BUILD)
90
set(ENABLE_SFIZZ OFF)
91
set(ENABLE_GEM OFF)
@@ -320,8 +328,6 @@ target_link_libraries(juce
320
328
)
321
329
endif()
322
330
323
-target_compile_options(juce PUBLIC $<$<CONFIG:Release>:${JUCE_LTO_FLAGS}>)
324
-
325
331
if(NANOVG_METAL_IMPLEMENTATION)
326
332
add_compile_definitions(NANOVG_METAL_IMPLEMENTATION=1)
327
333
elseif(NANOVG_GLES_IMPLEMENTATION)
0 commit comments