Skip to content

Commit

Permalink
Fix crash on iOS (#1799)
Browse files Browse the repository at this point in the history
  • Loading branch information
smilediver authored Apr 8, 2024
1 parent 68a5c25 commit 2493a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1k/platforms.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if(LINUX OR APPLE)
elseif(APPLE)
set(CMAKE_SKIP_BUILD_RPATH TRUE CACHE BOOL "" FORCE)
if(IOS)
set(CMAKE_INSTALL_RPATH "@executable_path/Frameworks")
set(CMAKE_INSTALL_RPATH "/usr/lib/swift" "@executable_path/Frameworks")
else()
set(CMAKE_INSTALL_RPATH "@executable_path/../Frameworks")
endif()
Expand Down

0 comments on commit 2493a6d

Please sign in to comment.