Skip to content

Commit 3b8ea60

Browse files
cccclaifacebook-github-bot
authored andcommitted
Update linker flag
Summary: A bit more formatting and add one more instruction to let users set the linker flag Reviewed By: larryliu0820 Differential Revision: D48269656 fbshipit-source-id: 4512be65c9ce27831297552d9591a6ab99fa2441
1 parent 215e48a commit 3b8ea60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/website/docs/tutorials/cmake_build_system.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,7 @@ If using ios cmake tool chain from `https://github.com/leetal/ios-cmake.git`, af
182182

183183
- Open the project in XCode, drag the `executorch.xcodeproj` generated from Step 2 to `Frameworks`,
184184
- Go to project Target’s `Build Phases` - `Link Binaries With Libraries`, click the + sign and add all the library files located in `cmake-ios-out/build`.
185-
- Navigate to the project `Build Settings`, set the value **Header Search Paths** to `cmake-ios-out/include` and **Library Search Paths** to `cmake-ios-out/build`
185+
- Navigate to the project `Build Settings`
186+
- Set the value **Header Search Paths** to `cmake-ios-out/include`
187+
- Set **Library Search Paths** to `cmake-ios-out/build`
188+
- In **other linker flags**, add a custom linker flag `-all_load`

0 commit comments

Comments
 (0)