diff options
| author | levlam <levlam@telegram.org> | 2024-08-30 13:53:34 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-08-30 13:53:34 +0300 |
| commit | d603cca40e9705e24a7a97ac58523f1b11c98214 (patch) | |
| tree | 2588dbbc04e7a07547f194da69e89abb20db2e8e /example/ios | |
| parent | 94e01d7a3020f946a641e78ac0abade4e8979885 (diff) | |
Update iOS example README.
Diffstat (limited to 'example/ios')
| -rw-r--r-- | example/ios/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/ios/README.md b/example/ios/README.md index e1bd1ede3..9f91042a5 100644 --- a/example/ios/README.md +++ b/example/ios/README.md @@ -13,13 +13,13 @@ To compile `TDLib` you will need to: ``` brew install gperf cmake coreutils ``` -* If you don't want to build `TDLib` for macOS first, you **must** pregenerate required source code files using `CMake` prepare_cross_compiling target: +* If you don't want to build `TDLib` for macOS first, you **must** pregenerate required source code files in the following way: ``` cd <path to TDLib sources> mkdir native-build cd native-build -cmake .. -cmake --build . --target prepare_cross_compiling +cmake -DTD_GENERATE_SOURCE_FILES=ON .. +cmake --build . ``` * Build OpenSSL for iOS, watchOS, tvOS, visionOS, and macOS: ``` |
