mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-31 00:12:02 +08:00
Set cmake policies for MSVC flags
Although not used in this project. This policy is needed by our cura-build-environment because the conan_toolchain requires this to be set. Since we use CMake for all our repo's even pure Python or resource repos such as this, we need to set in regardless. Contributes to CURA-9365
This commit is contained in:
parent
fb3f065fe0
commit
40990d686f
@ -1,6 +1,8 @@
|
||||
# Copyright (c) 2022 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
# For MSVC flags, will be ignored on non-Windows OS's and this project in general. Only needed for cura-build-environment.
|
||||
cmake_policy(SET CMP0091 NEW)
|
||||
project(cura)
|
||||
cmake_minimum_required(VERSION 3.18)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user