From ee8e45d7f4664eb5718ee32b084b70893a88618b Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Tue, 14 May 2024 19:14:11 -0400 Subject: [PATCH] Keep leading zeros in M2 version number (cmake) --- M2/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/M2/CMakeLists.txt b/M2/CMakeLists.txt index 7960ff90a97..4e946fa6aaf 100644 --- a/M2/CMakeLists.txt +++ b/M2/CMakeLists.txt @@ -17,6 +17,7 @@ ## Requires CMake version 3.15 and is tested with 3.19 cmake_minimum_required(VERSION 3.15...3.19) cmake_policy(VERSION 3.14) +cmake_policy(SET CMP0096 NEW) # preserve leading zeros in version number ## Use the C++20 standard set(CMAKE_CXX_STANDARD 17)