update cmake to 4.3.x

This commit is contained in:
SoftFever
2026-03-19 15:48:32 +08:00
parent f2eab542a4
commit 4ffe260228
4 changed files with 10 additions and 3 deletions

View File

@@ -114,7 +114,9 @@ jobs:
name: ${{ github.sha }}-tests name: ${{ github.sha }}-tests
- uses: lukka/get-cmake@latest - uses: lukka/get-cmake@latest
with: with:
cmakeVersion: "~3.28.0" # use most recent 3.28.x version cmakeVersion: "~4.3.0" # use most recent 4.3.x version
useLocalCache: true # <--= Use the local cache (default is 'false').
useCloudCache: false # <--= Ditch the cloud cache (default is 'true').
- name: Unpackage and Run Unit Tests - name: Unpackage and Run Unit Tests
timeout-minutes: 20 timeout-minutes: 20
run: | run: |

View File

@@ -46,7 +46,9 @@ jobs:
- uses: lukka/get-cmake@latest - uses: lukka/get-cmake@latest
with: with:
cmakeVersion: "~3.28.0" # use most recent 3.28.x version cmakeVersion: "~4.3.0" # use most recent 4.3.x version
useLocalCache: true # <--= Use the local cache (default is 'false').
useCloudCache: false # <--= Ditch the cloud cache (default is 'true').
- name: setup dev on Windows - name: setup dev on Windows
if: inputs.os == 'windows-latest' if: inputs.os == 'windows-latest'

View File

@@ -44,7 +44,9 @@ jobs:
- uses: lukka/get-cmake@latest - uses: lukka/get-cmake@latest
with: with:
cmakeVersion: "~3.28.0" # use most recent 3.28.x version cmakeVersion: "~4.3.0" # use most recent 4.3.x version
useLocalCache: true # <--= Use the local cache (default is 'false').
useCloudCache: false # <--= Ditch the cloud cache (default is 'true').
- name: Get the version and date on Ubuntu and macOS - name: Get the version and date on Ubuntu and macOS
if: inputs.os != 'windows-latest' if: inputs.os != 'windows-latest'

View File

@@ -16,6 +16,7 @@ orcaslicer_add_cmake_project(OCCT
#DEPENDS dep_Boost #DEPENDS dep_Boost
DEPENDS ${FREETYPE_PKG} DEPENDS ${FREETYPE_PKG}
CMAKE_ARGS CMAKE_ARGS
-DCMAKE_CXX_STANDARD=17
-DBUILD_LIBRARY_TYPE=${library_build_type} -DBUILD_LIBRARY_TYPE=${library_build_type}
-DUSE_TK=OFF -DUSE_TK=OFF
-DUSE_TBB=OFF -DUSE_TBB=OFF