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
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -14,3 +14,4 @@ build-*
|
|||
*.DS_Store
|
||||
userdata.ini
|
||||
Info_Mac.plist
|
||||
/ci/build_temp
|
|
@ -58,7 +58,7 @@ fi
|
|||
mkdir $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 ../..
|
||||
if [ $? -ne 0 ] ;then
|
||||
echo "cmake failed"
|
||||
|
|
Loading…
Add table
Reference in a new issue