From 396984ba35e97c111230e92a59c2e69ffa9bf771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20von=20Haller?= Date: Wed, 25 Sep 2024 08:40:30 +0200 Subject: [PATCH] Set CMP0144 cmake policy (#2435) find_package() uses upper-case _ROOT variables. --> avoid issues with the most recent cmake on mac --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed504a63fd..841d09bbe6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) enable_testing() set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) +cmake_policy(SET CMP0144 NEW) # find_package() uses upper-case _ROOT variables. include(CMakeParseArguments) include(GNUInstallDirs)