[kde-common/cmake] TDEMacros.cmake: added tde_setup_install_path()

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225817 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
pull/1/head
samelian 14 years ago
parent f689d16002
commit 12653f606e

@ -1001,7 +1001,7 @@ macro( tde_create_handbook )
${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2 ${_srcs} ${_extra} ${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2 ${_srcs} ${_extra}
DESTINATION ${_dest} ) DESTINATION ${_dest} )
tde_install_symlink( ${HTML_INSTALL_DIR}/${_lang}/common ${_dest} ) tde_install_symlink( ${TDE_HTML_DIR}/${_lang}/common ${_dest} )
endmacro( ) endmacro( )
@ -1103,3 +1103,16 @@ macro( tde_restore )
unset( __bak_${_var} ) unset( __bak_${_var} )
endforeach() endforeach()
endmacro() endmacro()
#################################################
#####
##### tde_setup_install_path
macro( tde_setup_install_path _path _default )
if( DEFINED ${_path} )
set( ${_path} "${${_path}}" CACHE INTERNAL "" FORCE )
else( )
set( ${_path} "${_default}" )
endif( )
endmacro( )

Loading…
Cancel
Save