From 90e409ff9d1ccca8c9532d451ea082bdca63dca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20von=20Haller?= Date: Tue, 24 Sep 2024 08:17:18 +0200 Subject: [PATCH] Set CMP0144 cmake policy 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 422a60e32c..0a84c4a90c 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)