summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorFrancois Andriot <[email protected]>2013-02-16 18:31:18 +0100
committerSlávek Banko <[email protected]>2013-02-16 18:31:18 +0100
commitb928573e551a0832b17cfd2ce0580fa1fc46a6a2 (patch)
tree1918e5cffb2878b59a0b56843151344af8ebfd77 /modules
parent5438330f961347e3026326e78e0e70a1ec083aaf (diff)
downloadtde-cmake-b928573e551a0832b17cfd2ce0580fa1fc46a6a2.tar.gz
tde-cmake-b928573e551a0832b17cfd2ce0580fa1fc46a6a2.zip
Fix 'tde_create_handbook' macro if TDE_HTML_DIR is not set
Diffstat (limited to 'modules')
-rw-r--r--modules/TDEMacros.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index c3bb81a..f290e2b 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -1242,6 +1242,10 @@ macro( tde_create_handbook )
list( APPEND _srcs ${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2 )
+ if( NOT TDE_HTML_DIR )
+ set( TDE_HTML_DIR ${HTML_INSTALL_DIR} )
+ endif( )
+
tde_install_empty_directory( ${_dest} )
tde_install_symlink( ${TDE_HTML_DIR}/${_lang}/common ${_dest} )