Files
CMake/Modules
Brad King ed015bde2b CPack: Restore support for 0-valued version components
In commit v3.12.0-rc1~136^2 (CPack: Use project version as default for
`CPACK_PACKAGE_VERSION`, 2018-04-29) we did not account for the value of
`CMAKE_PROJECT_VERSION_{MAJOR,MINOR,PATCH}` having `0`.  Fix the logic
to distinguish between unprovided version components and `0` components.

While at it, add a test case covering the behavior described in the
documentation by the original commit.  The number of version components
in the package name should match those provided to the `project()`
command `VERSION` option.

Fixes: #18199
2018-07-27 10:01:29 -04:00
..
2018-01-04 06:52:01 +11:00
2018-01-04 06:52:01 +11:00
2018-02-16 09:47:17 -05:00
2018-02-16 09:47:17 -05:00
2018-02-16 09:47:17 -05:00
2018-02-16 09:47:17 -05:00
2018-05-11 09:28:44 -04:00
2018-06-04 10:32:49 -04:00
2018-01-04 06:52:01 +11:00
2018-06-05 11:26:12 -04:00
2018-01-04 06:52:01 +11:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2018-05-31 09:35:53 +02:00
2018-06-04 10:32:49 -04:00
2018-04-03 09:38:41 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2018-01-04 06:52:01 +11:00
2018-06-04 10:32:49 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/dev/Module-Maintainers