Skip to content

Commit

Permalink
Set CMP0144 cmake policy
Browse files Browse the repository at this point in the history
find_package() uses upper-case <PACKAGENAME>_ROOT variables.

--> avoid issues with the most recent cmake on mac
  • Loading branch information
Barthelemy authored Sep 24, 2024
1 parent 9ac0bcf commit 90e409f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 <PACKAGENAME>_ROOT variables.

include(CMakeParseArguments)
include(GNUInstallDirs)
Expand Down

0 comments on commit 90e409f

Please sign in to comment.