File tree Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 8686
8787      - name : Configure 
8888        working-directory : ${{ runner.temp }}/build 
89-         run : ${{ env.QT_ROOT_DIR }}/bin/qt-cmake -S ${{ github.workspace }} -B . -G Ninja 
90-               -DCMAKE_BUILD_TYPE=${{ matrix.BuildType }} 
89+         run : ${{ env.QT_ROOT_DIR }}/bin/qt-cmake -S ${{ github.workspace }} -B . -G Ninja \  
90+               -DCMAKE_BUILD_TYPE=${{ matrix.BuildType }} \  
9191              -DQGC_STABLE_BUILD=${{ github.ref_type == 'tag' || contains(github.ref, 'Stable') && 'ON' || 'OFF' }} 
9292
9393      - name : Build 
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ if(APPLE)
4545    set (CMAKE_OSX_DEPLOYMENT_TARGET "12.0" )
4646    # set(CMAKE_OSX_SYSROOT "iphoneos") 
4747    if (QGC_MACOS_UNIVERSAL_BUILD)
48-         set (CMAKE_OSX_ARCHITECTURES "x86_64 ;arm64" )
48+         set (CMAKE_OSX_ARCHITECTURES "x86_64h ;arm64" )  # CMAKE_APPLE_SILICON_PROCESSOR 
4949    endif ()
5050endif ()
5151
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ set(QGC_MACOS_PLIST_PATH "${CMAKE_SOURCE_DIR}/deploy/macos/MacOSXBundleInfo.plis
6868set (QGC_MACOS_BUNDLE_ID "${QGC_PACKAGE_NAME} "  CACHE  STRING  "MacOS Bundle ID" )
6969set (QGC_MACOS_ICON_PATH "${CMAKE_SOURCE_DIR} /deploy/macos/qgroundcontrol.icns"  CACHE  FILEPATH  "MacOS Icon Path" )
7070set (QGC_MACOS_ENTITLEMENTS_PATH "${CMAKE_SOURCE_DIR} /deploy/macos/qgroundcontrol.entitlements"  CACHE  FILEPATH  "MacOS Entitlements Path" )
71- option (QGC_MACOS_UNIVERSAL_BUILD "Build MacOS Universal Build (arm64;x86_64 )"  ON )
71+ option (QGC_MACOS_UNIVERSAL_BUILD "Build MacOS Universal Build (x86_64h;arm64 )"  ON )
7272
7373# Linux 
7474option (QGC_CREATE_APPIMAGE "Build an AppImage after build"  ON )
Original file line number Diff line number Diff line change @@ -51,10 +51,4 @@ endif()
5151
5252if (APPLE  AND  NOT  IOS)
5353    set (MACOS TRUE )
54- 
55-     # if(CMAKE_APPLE_SILICON_PROCESSOR MATCHES "arm64") 
56-     # if(CMAKE_APPLE_SILICON_PROCESSOR MATCHES "x86_64") 
57-     # if("${CMAKE_OSX_ARCHITECTURES}" MATCHES "arm64;x86_64" OR "${CMAKE_OSX_ARCHITECTURES}" MATCHES "x86_64;arm64") 
58-     #     set(QGC_MACOS_UNIVERSAL_BUILD ON) 
59-     # endif() 
6054endif ()
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ apt-get install -y -qq --no-install-recommends \
1717
1818#  Enable the “universe” component (needed for several dev packages)
1919add-apt-repository -y universe
20+ add-apt-repository -y ppa:ubuntu-toolchain-r/test
2021apt-get update -y -qq
2122
2223#  --------------------------------------------------------------------
@@ -34,7 +35,9 @@ apt-get install -y -qq --no-install-recommends \
3435    git \
3536    libfuse2 \
3637    fuse3 \
38+     libc6 \
3739    libtool \
40+     libstdc++6 \
3841    locales \
3942    mold \
4043    ninja-build \
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments