mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Introduce CMake policy `CMP0096` to make `project()` keep leading zeros in version components. As a side effect, it now allows really long version numbers. Fixes: #19421 Co-Author: Brad King <brad.king@kitware.com>
7 lines
227 B
CMake
7 lines
227 B
CMake
cmake_policy(SET CMP0048 NEW)
|
|
cmake_policy(SET CMP0096 NEW)
|
|
include(CMP0096-common.cmake)
|
|
|
|
project(VeryLongVersion VERSION 0009999999999.0009999999999.0009999999999.0009999999999 LANGUAGES NONE)
|
|
print_versions(VeryLongVersion)
|