diff options
author | Tim Hutt <tim.hutt@ultrahaptics.com> | 2017-02-14 10:09:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-17 16:47:00 (GMT) |
commit | 734581f49fc0eac4c49e941c0cc450a04c866896 (patch) | |
tree | 0d4c398a3b1929933638411adcb88a23ce94b701 /Modules/CPackProductBuild.cmake | |
parent | 11e9605179e340833d95115fb0178d2ee84b3e24 (diff) | |
download | CMake-734581f49fc0eac4c49e941c0cc450a04c866896.zip CMake-734581f49fc0eac4c49e941c0cc450a04c866896.tar.gz CMake-734581f49fc0eac4c49e941c0cc450a04c866896.tar.bz2 |
CPack: Add support for CPACK_PRODUCTBULID_RESOURCES_DIR
This allows you to copy custom files (e.g. a background image) into the
macOS installer.
Fixes: #16604
Diffstat (limited to 'Modules/CPackProductBuild.cmake')
-rw-r--r-- | Modules/CPackProductBuild.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/CPackProductBuild.cmake b/Modules/CPackProductBuild.cmake index d545d3e..4779b95 100644 --- a/Modules/CPackProductBuild.cmake +++ b/Modules/CPackProductBuild.cmake @@ -46,3 +46,11 @@ # # Specify a specific keychain to search for the signing identity. # +# +# .. variable:: CPACK_PRODUCTBUILD_RESOURCES_DIR +# +# If specified the productbuild generator copies files from this directory +# (including subdirectories) to the ``Resources`` directory. This is done +# before the :variable:`CPACK_RESOURCE_FILE_WELCOME`, +# :variable:`CPACK_RESOURCE_FILE_README`, and +# :variable:`CPACK_RESOURCE_FILE_LICENSE` files are copied. |