Skip to content

Commit

Permalink
Fixed iOS factory presets missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
talaviram committed May 10, 2023
1 parent 20e9424 commit e2abac6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ if(APPLE_IOS)
Source/model/AbletonLink.mm
Source/utils/UtilityFunctions.mm
)

target_sources(TICK_Standalone PRIVATE "Installer/Factory")
set_source_files_properties("Installer/Factory" PROPERTIES
MACOSX_PACKAGE_LOCATION "Resources"
)
endif()

target_sources(TICK_Standalone
Expand Down Expand Up @@ -250,8 +255,6 @@ add_custom_target(
add_dependencies(TICK generate_git_revision)

if(APPLE_IOS)
juce_add_bundle_resources_directory(TICK "Installer/Factory")

if(EXISTS "private/LinkKit")
message("Ableton LinkKit (iOS)")
set(CMAKE_XCODE_ATTRIBUTE_OTHER_LDFLAGS[sdk=iphoneos*] "${CMAKE_SOURCE_DIR}/private/LinkKit/LinkKit.xcframework/ios-arm64_armv7/libLinkKit.a")
Expand Down

0 comments on commit e2abac6

Please sign in to comment.