diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-11-10 12:20:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-12-09 22:06:10 (GMT) |
commit | 3476dbe6d76aee7409796e3dfd1da6a0c15e7b21 (patch) | |
tree | 54603d78864a7db7802090b5a02235a26a7554a9 /Tests/RunCMake/CPack/RunCMakeTest.cmake | |
parent | a9c09599002baa27bdf4f98664829a92ba529240 (diff) | |
download | CMake-3476dbe6d76aee7409796e3dfd1da6a0c15e7b21.zip CMake-3476dbe6d76aee7409796e3dfd1da6a0c15e7b21.tar.gz CMake-3476dbe6d76aee7409796e3dfd1da6a0c15e7b21.tar.bz2 |
CPack: CMAKE_PROJECT_HOMEPAGE_URL -> CPACK_PACKAGE_HOMEPAGE_URL
At CPack running time the `CMAKE_PROJECT_HOMEPAGE_URL` variable
is not set.
Internal CPack modules (e.g. CPackDEB, CPackRPM, CPackFreeBSD)
should use `CPACK_PACKAGE_HOMEPAGE_URL` instead, which is available
after inclusion of `CPack.cmake` into `CMakeLists.txt`.
Closes: #19607
Diffstat (limited to 'Tests/RunCMake/CPack/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/CPack/RunCMakeTest.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/RunCMakeTest.cmake b/Tests/RunCMake/CPack/RunCMakeTest.cmake index b0b7a99..5fce32a 100644 --- a/Tests/RunCMake/CPack/RunCMakeTest.cmake +++ b/Tests/RunCMake/CPack/RunCMakeTest.cmake @@ -46,3 +46,4 @@ run_cpack_test_subtests( false "MONOLITHIC;COMPONENT" ) +run_cpack_test(PROJECT_META "RPM.PROJECT_META;DEB.PROJECT_META" false "MONOLITHIC;COMPONENT") |