mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 22:35:15 -06:00
Cleanup DOWNLOAD_EXTRACT_TIMESTAMP warning for CMake 3.24 (#327)
CMake 3.24 introduces a new policy for managing timestamps on extracted contents of downloaded archives. This change specifies the new behavior should be used for dependencies to eliminate the warning printed when the policy is not set.
This commit is contained in:
parent
27271a69f6
commit
9a117afbe3
1 changed files with 4 additions and 0 deletions
4
deps/CMakeLists.txt
vendored
4
deps/CMakeLists.txt
vendored
|
@ -23,6 +23,10 @@
|
|||
project(BambuStudio-deps)
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
endif()
|
||||
|
||||
include(ExternalProject)
|
||||
include(ProcessorCount)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue