Skip to content
Merged
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
4 changes: 3 additions & 1 deletion cmake/FindArduinoCtags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ function(get_ctags)

# Prevent warnings in CMake>=3.24 regarding ExternalProject_Add()
# cf. https://cmake.org/cmake/help/latest/policy/CMP0135.html
cmake_policy(SET CMP0135 OLD)
if (POLICY CMP0135)
cmake_policy(SET CMP0135 OLD)
endif()

cmake_host_system_information(
RESULT HOSTINFO
Expand Down
4 changes: 3 additions & 1 deletion cmake/ensure_core_deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ function(declare_deps CORE_VERSION)

# Prevent warnings in CMake>=3.24 regarding ExternalProject_Add()
# cf. https://cmake.org/cmake/help/latest/policy/CMP0135.html
cmake_policy(SET CMP0135 OLD)
if (POLICY CMP0135)
cmake_policy(SET CMP0135 OLD)
endif()

file(REAL_PATH "${DL_DIR}/package_stmicroelectronics_index.json" JSONFILE)
if (NOT EXISTS ${JSONFILE})
Expand Down