aboutsummaryrefslogtreecommitdiff
path: root/audio/noise-suppression-for-voice-lv2/files/patch-src_juce__plugin_CMakeLists.txt
blob: c7a1ecb8634bcdd5d5e34c4d8a6fb9ceeca78c55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/juce_plugin/CMakeLists.txt.orig	2024-05-18 14:43:53 UTC
+++ src/juce_plugin/CMakeLists.txt
@@ -88,14 +88,14 @@ function(compile_plugins formats suffix default_channe
     # JUCE has a terrible idea of installing plugin during the BUILD process instead of during the INSTALL,
     # also JUCE wants to install its headers which we don't want at all.
     # So it's easier to handle it ourselves.
-    if (UNIX AND NOT APPLE)
+    if (FALSE AND UNIX AND NOT APPLE)
         foreach (format IN LISTS formats)
             if (format STREQUAL "LV2")
-                install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/rnnoise${suffix}.lv2 DESTINATION ${CMAKE_INSTALL_LIBDIR}/lv2)
+                install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../src/juce_plugin/rnnoise_juce_plugin${suffix}_artefacts/Release/LV2/rnnoise${suffix}.lv2 DESTINATION lib/lv2)
             elseif (format STREQUAL "VST")
-                install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/vst/ DESTINATION ${CMAKE_INSTALL_LIBDIR}/lxvst)
+                install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/vst/ DESTINATION lib/lxvst)
             elseif (format STREQUAL "VST3")
-                install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/rnnoise.vst3 DESTINATION ${CMAKE_INSTALL_LIBDIR}/vst3)
+                install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../src/juce_plugin/rnnoise_juce_plugin_artefacts/Release/VST3/rnnoise.vst3 DESTINATION lib/vst3)
             endif ()
         endforeach ()
     endif ()