Check potentially missing policy.
This commit is contained in:
parent
a4c0abbda1
commit
e5aa1463f7
|
@ -2,8 +2,10 @@ cmake_minimum_required (VERSION 3.20.0)
|
||||||
|
|
||||||
cmake_policy (SET CMP0097 NEW)
|
cmake_policy (SET CMP0097 NEW)
|
||||||
cmake_policy (SET CMP0091 NEW)
|
cmake_policy (SET CMP0091 NEW)
|
||||||
cmake_policy (SET CMP0135 NEW)
|
|
||||||
cmake_policy (SET CMP0077 OLD)
|
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_MAJOR 0)
|
||||||
set (CARLA_VERSION_MINOR 9)
|
set (CARLA_VERSION_MINOR 9)
|
||||||
|
|
Loading…
Reference in New Issue