Skip to content

Commit

Permalink
make the changes Windows specific
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Nov 26, 2024
1 parent 9e1c8bf commit ee8537a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions cmake/JambaAddVST3Plugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ endfunction()
# internal_jamba_add_vst3_plugin
#------------------------------------------------------------------------
function(internal_jamba_add_vst3_plugin)
smtg_add_vst3plugin("${ARG_TARGET}" "${vst3sdk_SOURCE_DIR}" "${ARG_VST_SOURCES}"
PACKAGE_NAME "${ARG_PLUGIN_NAME}"
)
if(WIN32)
smtg_add_vst3plugin("${ARG_TARGET}" "${vst3sdk_SOURCE_DIR}" "${ARG_VST_SOURCES}"
PACKAGE_NAME "${ARG_PLUGIN_NAME}"
)
else()
smtg_add_vst3plugin("${ARG_TARGET}" "${vst3sdk_SOURCE_DIR}" "${ARG_VST_SOURCES}")
endif()

# We need to link with jamba (which defines what it needs to link with)
target_link_libraries("${ARG_TARGET}" PUBLIC "jamba" "${ARG_LINK_LIBRARIES}")
Expand Down

0 comments on commit ee8537a

Please sign in to comment.