Skip to content

Commit

Permalink
COMP: Set CMake Policy 135 to NEW to suppress warnings in CMake 3.24
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit committed Jan 30, 2023
1 parent f26e5cf commit 93bcf26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ cmake_minimum_required(VERSION 3.9.5 FATAL_ERROR)
set(CMAKE_POLICIES
CMP0070
CMP0071
CMP0072)
CMP0072
CMP0135)

foreach(p ${CMAKE_POLICIES})
if(POLICY ${p})
Expand Down

0 comments on commit 93bcf26

Please sign in to comment.