[
https://issues.apache.org/jira/browse/MINIFICPP-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Gerlits updated MINIFICPP-1581:
--------------------------------------
Fix Version/s: 0.11.0
> PROJECT_VERSION with leading zeros are invalid
> ----------------------------------------------
>
> Key: MINIFICPP-1581
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1581
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Martin Zink
> Assignee: Martin Zink
> Priority: Major
> Fix For: 0.11.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Previously the project version was defined by setting the
> PPROJECT_VERSION_\{MAJOR,MINOR,PATCH,TWEAK} variables separatly.
> Now it is defined by the
> project(nifi-minifi-cpp VERSION <PPROJECT_VERSION_>) call
> This changed the behaviour if the project version has leading zeros.
> Previously a project version 1.07.06 was valid, but now it will be 1.7.6 due
> to a cmake policy.
> [https://cmake.org/cmake/help/git-stage/policy/CMP0096.html]
>
> We should change the cmake files so it can handle project versions with
> leading zeros.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)