Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Arduino-toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ endif()
cmake_policy(PUSH)

# Set policy to above 3.0.0
cmake_policy(VERSION 3.0.0)
cmake_policy(VERSION 3.10)

# Interpret if() arguments without quotes as variables/keywords
if (NOT CMAKE_VERSION VERSION_LESS 3.1)
Expand Down
2 changes: 1 addition & 1 deletion Arduino/Templates/Scripts/BuildRuleScript.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2020 Arduino CMake Toolchain

cmake_policy(VERSION 3.0)
cmake_policy(VERSION 3.10)

set(ARDUINO_TOOLCHAIN_DIR "@ARDUINO_TOOLCHAIN_DIR@")
set(ARDUINO_PATTERN_NAMES
Expand Down
2 changes: 1 addition & 1 deletion Arduino/Templates/Scripts/LinkScript.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2020 Arduino CMake Toolchain

cmake_policy(VERSION 3.0)
cmake_policy(VERSION 3.10)

# Generated content based on the selected board
set(ARDUINO_TOOLCHAIN_DIR "@ARDUINO_TOOLCHAIN_DIR@")
Expand Down
2 changes: 1 addition & 1 deletion Arduino/Templates/Scripts/ToolScript.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2020 Arduino CMake Toolchain

cmake_policy(VERSION 3.1)
cmake_policy(VERSION 3.10)

# Generated content based on the selected board
set(ARDUINO_TOOLCHAIN_DIR "@ARDUINO_TOOLCHAIN_DIR@")
Expand Down