diff options
| author | Arseny Smirnov <arseny30@gmail.com> | 2021-03-26 18:09:13 +0300 |
|---|---|---|
| committer | Arseny Smirnov <arseny30@gmail.com> | 2021-03-26 18:09:13 +0300 |
| commit | 258b6dd3bd50e965bade4150d76ed0c9631f6ca1 (patch) | |
| tree | d2b7b4b2a0983a65fe295adb8a7cdde0a9a5e504 /example/ios | |
| parent | 5c7b7d4c85d1966b248e86c1769fdee4fc151f06 (diff) | |
use TD_EXPERIMENTAL_WATCH_OS=ON in example/ios
Diffstat (limited to 'example/ios')
| -rwxr-xr-x | example/ios/build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/example/ios/build.sh b/example/ios/build.sh index 5b4ad9895..34bfe58ea 100755 --- a/example/ios/build.sh +++ b/example/ios/build.sh @@ -46,8 +46,10 @@ do else ios_platform="OS" fi + watchos="" if [[ $platform = "watchOS" ]]; then ios_platform="WATCH${ios_platform}" + watchos="-DTD_EXPERIMENTAL_WATCH_OS=ON" fi if [[ $platform = "tvOS" ]]; then ios_platform="TV${ios_platform}" @@ -57,7 +59,7 @@ do mkdir -p $build mkdir -p $install cd $build - cmake $td_path $options -DIOS_PLATFORM=${ios_platform} -DCMAKE_TOOLCHAIN_FILE=${td_path}/CMake/iOS.cmake -DCMAKE_INSTALL_PREFIX=../${install} + cmake $td_path $options $watchos -DIOS_PLATFORM=${ios_platform} -DCMAKE_TOOLCHAIN_FILE=${td_path}/CMake/iOS.cmake -DCMAKE_INSTALL_PREFIX=../${install} make -j3 install || exit cd .. done |
