Skip to content

Commit

Permalink
A couple of tiny tweaks for AUv2 as a sub module (#108)
Browse files Browse the repository at this point in the history
as I start on auv2 info plist and so on, these stopped me right
away. With the, the single plugin case at least works
as a sub. except nothing works with auv2 of course!
  • Loading branch information
baconpaul authored and defiantnerd committed Sep 9, 2023
1 parent 9c645ff commit 1a02801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/enable_sdks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ if (APPLE)
# is a placeholder. When we write it we will follow a similar
# split trick as for the vst3, mostly (but AUV2 is a bit different
# with info.plist and entrypoint-per-instance stuff)
target_sources(${AUV2_TARGET} PRIVATE src/wrapasauv2.cpp)
target_sources(${AUV2_TARGET} PRIVATE ${CLAP_WRAPPER_CMAKE_CURRENT_SOURCE_DIR}/src/wrapasauv2.cpp)


if (NOT TARGET ${AUV2_TARGET}-clap-wrapper-auv2-lib)
Expand Down Expand Up @@ -551,7 +551,7 @@ if (APPLE)
MACOSX_BUNDLE_BUNDLE_NAME ${AUV2_OUTPUT_NAME}
MACOSX_BUNDLE_BUNDLE_VERSION ${AUV2_BUNDLE_VERSION}
MACOSX_BUNDLE_SHORT_VERSION_STRING ${AUV2_BUNDLE_VERSION}
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_SOURCE_DIR}/cmake/auv2_Info.plist.in
MACOSX_BUNDLE_INFO_PLIST ${CLAP_WRAPPER_CMAKE_CURRENT_SOURCE_DIR}/cmake/auv2_Info.plist.in
)
if (NOT ${CMAKE_GENERATOR} STREQUAL "Xcode")
add_custom_command(TARGET ${AUV2_TARGET} POST_BUILD
Expand Down

0 comments on commit 1a02801

Please sign in to comment.