Set the CMake policy CMP0177 (#15657)

Update CMakeLists.txt
This commit is contained in:
Rodrigo Faselli
2026-09-12 13:26:11 -03:00
committed by GitHub
parent e7ca4fb87e
commit db9163ec34

View File

@@ -4,6 +4,10 @@ endif()
cmake_minimum_required(VERSION 3.13)
if(POLICY CMP0177)
cmake_policy(SET CMP0177 NEW)
endif()
# The following line used to be in tests/CMakeLists.txt
# Having it there causes rebuilds of all targets on any CMakeLists.txt change under tests/