From 9306a3c2ea3b7ae38f56e0f1564eb965a3e4653e Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Sun, 4 Aug 2024 18:16:41 +1000 Subject: [PATCH] add sketchy rpath so it runs in xcode --- Sources/SwiftFrontend/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/SwiftFrontend/CMakeLists.txt b/Sources/SwiftFrontend/CMakeLists.txt index 503d9e2..06a814b 100644 --- a/Sources/SwiftFrontend/CMakeLists.txt +++ b/Sources/SwiftFrontend/CMakeLists.txt @@ -1,2 +1,3 @@ add_executable(SwiftFrontend MACOSX_BUNDLE main.swift Application.swift) target_link_libraries(SwiftFrontend PRIVATE CppBackend SDL3) +set_property(TARGET SwiftFrontend PROPERTY BUILD_RPATH "/Library/Frameworks/SDL3.xcframework/macos-arm64_x86_64")