Skip to content
Closed
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: 4 additions & 0 deletions src/Index.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ cmake_minimum_required(VERSION 3.20)

include_guard()

if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.31.0")
cmake_policy(SET CMP0177 NEW)
Copy link
Copy Markdown
Owner

@aminya aminya Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a short comment about what this policy does?

https://cmake.org/cmake/help/latest/policy/CMP0177.html

endif()

if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
# fix DOWNLOAD_EXTRACT_TIMESTAMP warning in FetchContent
cmake_policy(SET CMP0135 NEW)
Expand Down
Loading