Skip to content

Commit

Permalink
Keep leading zeros in M2 version number (cmake)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-torrance committed May 14, 2024
1 parent f654749 commit ee8e45d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions M2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ee8e45d

Please sign in to comment.