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
5 changes: 5 additions & 0 deletions cmake/FindArduinoCtags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ include(FetchContent)
include(FindPackageHandleStandardArgs)

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)

cmake_host_system_information(
RESULT HOSTINFO
QUERY OS_NAME OS_PLATFORM
Expand Down
5 changes: 5 additions & 0 deletions cmake/ensure_core_deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ function(get_target_url JSONARR OUT_URL OUT_SHA)
endfunction()

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)

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