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)