Browse Source

Quick fix for CMake 3.19.x on Apple platform.
Temporarily 'pin' to use the legacy build system even when using Xcode 12.x.

Yao Wei Tjong 姚伟忠 5 years ago
parent
commit
9e435fc6da
3 changed files with 3 additions and 3 deletions
  1. 1 1
      script/cmake_ios.sh
  2. 1 1
      script/cmake_tvos.sh
  3. 1 1
      script/cmake_xcode.sh

+ 1 - 1
script/cmake_ios.sh

@@ -21,6 +21,6 @@
 # THE SOFTWARE.
 #
 
-$(dirname $0)/cmake_generic.sh "$@" -G Xcode -D IOS=1
+$(dirname $0)/cmake_generic.sh "$@" -G Xcode -D IOS=1 -T buildsystem=1
 
 # vi: set ts=4 sw=4 expandtab:

+ 1 - 1
script/cmake_tvos.sh

@@ -21,6 +21,6 @@
 # THE SOFTWARE.
 #
 
-$(dirname $0)/cmake_generic.sh "$@" -G Xcode -D TVOS=1
+$(dirname $0)/cmake_generic.sh "$@" -G Xcode -D TVOS=1 -T buildsystem=1
 
 # vi: set ts=4 sw=4 expandtab:

+ 1 - 1
script/cmake_xcode.sh

@@ -21,6 +21,6 @@
 # THE SOFTWARE.
 #
 
-$(dirname $0)/cmake_generic.sh "$@" -G Xcode
+$(dirname $0)/cmake_generic.sh "$@" -G Xcode -T buildsystem=1
 
 # vi: set ts=4 sw=4 expandtab: