diff options
author | Adriaan de Groot <groot@kde.org> | 2021-02-27 16:35:56 (GMT) |
---|---|---|
committer | Adriaan de Groot <groot@kde.org> | 2021-12-21 12:59:27 (GMT) |
commit | d5ae2f97545bb599151d0d6fa818d3e84867514f (patch) | |
tree | 17ea1d591e14139882a6a7a1f25eeff6d2e92a3c /Modules/Internal/CPack | |
parent | 0ac1ac798ebdbd717d1b6196465b0c1570a9f45c (diff) | |
download | CMake-d5ae2f97545bb599151d0d6fa818d3e84867514f.zip CMake-d5ae2f97545bb599151d0d6fa818d3e84867514f.tar.gz CMake-d5ae2f97545bb599151d0d6fa818d3e84867514f.tar.bz2 |
FreeBSD: fix up the package name
When using libpkg, the output filename is determined by libpkg
itself, based on information in the manifest: package name and
version, basically. This doesn't necessarily match the name that
CMake has determined via CPACK_TEMPORARY_PACKAGE_FILE_NAME or
CPACK_PACKAGE_FILE_NAME. So reset the CMake-determined list
to match what libpkg will do.
Diffstat (limited to 'Modules/Internal/CPack')
-rw-r--r-- | Modules/Internal/CPack/CPackFreeBSD.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/CPack/CPackFreeBSD.cmake b/Modules/Internal/CPack/CPackFreeBSD.cmake index ae40532..c35089c 100644 --- a/Modules/Internal/CPack/CPackFreeBSD.cmake +++ b/Modules/Internal/CPack/CPackFreeBSD.cmake @@ -34,7 +34,7 @@ function(_cpack_freebsd_fallback_var OUTPUT_VAR_NAME) endif() endforeach() if(NOT VALUE) - message(WARNING "Variable ${OUTPUT_VAR_NAME} could not be given a fallback value from any variable ${FALLBACK_VAR_NAMES}.") + message(WARNING "Variable ${OUTPUT_VAR_NAME} could not be given a fallback value from (any of) ${FALLBACK_VAR_NAMES}.") endif() endfunction() |