diff options
author | Henryk Paluch <henryk.paluch@pickering.cz> | 2021-02-19 12:39:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-01 20:28:10 (GMT) |
commit | 5302073010eaf74fbc577cd53c62004545bc291e (patch) | |
tree | 263f9b27b6b3b6fbcea6b2cf9c2c9c15986f9388 /CMakeCPack.cmake | |
parent | 11506eb1297ee50a213bad6beb943ba41556c58e (diff) | |
download | CMake-5302073010eaf74fbc577cd53c62004545bc291e.zip CMake-5302073010eaf74fbc577cd53c62004545bc291e.tar.gz CMake-5302073010eaf74fbc577cd53c62004545bc291e.tar.bz2 |
Help: Add option to generate docs with latexpdf
Diffstat (limited to 'CMakeCPack.cmake')
-rw-r--r-- | CMakeCPack.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake index 31c2fe4..9357804 100644 --- a/CMakeCPack.cmake +++ b/CMakeCPack.cmake @@ -133,6 +133,9 @@ if(CMake_INSTALL_COMPONENTS) if(SPHINX_QTHELP) list(APPEND _CPACK_IFW_COMPONENTS_ALL sphinx-qthelp) endif() + if(SPHINX_LATEXPDF) + list(APPEND _CPACK_IFW_COMPONENTS_ALL sphinx-latexpdf) + endif() if(CMake_BUILD_DEVELOPER_REFERENCE) if(CMake_BUILD_DEVELOPER_REFERENCE_HTML) list(APPEND _CPACK_IFW_COMPONENTS_ALL cmake-developer-reference-html) |