mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-19 19:15:07 +00:00
fix: build error with xcode
This commit is contained in:
parent
9bfe67455b
commit
44575ff658
2 changed files with 3 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -13,4 +13,5 @@
|
||||||
build-*
|
build-*
|
||||||
*.DS_Store
|
*.DS_Store
|
||||||
userdata.ini
|
userdata.ini
|
||||||
Info_Mac.plist
|
Info_Mac.plist
|
||||||
|
/ci/build_temp
|
|
@ -58,7 +58,7 @@ fi
|
||||||
mkdir $build_path
|
mkdir $build_path
|
||||||
cd $build_path
|
cd $build_path
|
||||||
|
|
||||||
cmake_params="-DCMAKE_PREFIX_PATH=$qt_cmake_path -DCMAKE_BUILD_TYPE=$build_mode -G Xcode"
|
cmake_params="-DCMAKE_PREFIX_PATH=$qt_cmake_path -DCMAKE_BUILD_TYPE=$build_mode -DCMAKE_OSX_ARCHITECTURES=x86_64"
|
||||||
cmake $cmake_params ../..
|
cmake $cmake_params ../..
|
||||||
if [ $? -ne 0 ] ;then
|
if [ $? -ne 0 ] ;then
|
||||||
echo "cmake failed"
|
echo "cmake failed"
|
||||||
|
|
Loading…
Add table
Reference in a new issue