Skip to content

Commit

Permalink
Merge pull request #1 from pallaswept/Unique_LV2URI
Browse files Browse the repository at this point in the history
Unique LV2URI
  • Loading branch information
pengzhendong authored May 9, 2024
2 parents 4e208c1 + 5d5d13a commit ff936cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/juce_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ else()
endif()

function(compile_plugins formats suffix default_channels)
string(REPLACE "_" "" URI_SUFFIX "${suffix}")
set(PLUGIN_NAME "${PROJECT_NAME}${suffix}")

juce_add_plugin(${PLUGIN_NAME}
Expand All @@ -42,7 +43,7 @@ function(compile_plugins formats suffix default_channels)
PLUGIN_CODE Rnn1 # A unique four-character plugin id with at least one upper-case character
FORMATS "${formats}"
PRODUCT_NAME "rnnoise${suffix}"
LV2URI "https://github.com/werman/noise-suppression-for-voice"
LV2URI "https://github.com/werman/noise-suppression-for-voice#${URI_SUFFIX}"
VST_COPY_DIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/vst"
VST3_COPY_DIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
AU_COPY_DIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
Expand Down Expand Up @@ -135,4 +136,4 @@ endif ()

if (FORMATS)
compile_plugins("${FORMATS}" "" 1)
endif ()
endif ()

0 comments on commit ff936cb

Please sign in to comment.