Check potentially missing policy.

This commit is contained in:
Marcel Pi 2024-03-04 17:52:54 +01:00
parent a4c0abbda1
commit e5aa1463f7
1 changed files with 3 additions and 1 deletions

View File

@ -2,8 +2,10 @@ cmake_minimum_required (VERSION 3.20.0)
cmake_policy (SET CMP0097 NEW)
cmake_policy (SET CMP0091 NEW)
cmake_policy (SET CMP0135 NEW)
cmake_policy (SET CMP0077 OLD)
if (${CMAKE_MINOR_VERSION} GREATER_EQUAL 24)
cmake_policy (SET CMP0135 NEW)
endif ()
set (CARLA_VERSION_MAJOR 0)
set (CARLA_VERSION_MINOR 9)