Fix 'tde_create_handbook' macro if TDE_HTML_DIR is not set

pull/1/head
Francois Andriot 12 years ago committed by Slávek Banko
parent 5438330f96
commit b928573e55

@ -1242,6 +1242,10 @@ macro( tde_create_handbook )
list( APPEND _srcs ${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2 ) 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_empty_directory( ${_dest} )
tde_install_symlink( ${TDE_HTML_DIR}/${_lang}/common ${_dest} ) tde_install_symlink( ${TDE_HTML_DIR}/${_lang}/common ${_dest} )

Loading…
Cancel
Save