summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-23 15:03:56 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-23 15:03:56 +0000
commit12653f606eb78095c89f46f16ab695550b75e726 (patch)
tree1d4fc899902234e6dd8dd14fe3d9e1a62d656d77
parentf689d16002223825843043afad1404bccb6b4889 (diff)
downloadtde-cmake-12653f606eb78095c89f46f16ab695550b75e726.tar.gz
tde-cmake-12653f606eb78095c89f46f16ab695550b75e726.zip
[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
-rw-r--r--modules/TDEMacros.cmake15
1 files changed, 14 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index acca9d5..2c57114 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -1001,7 +1001,7 @@ macro( tde_create_handbook )
${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2 ${_srcs} ${_extra}
DESTINATION ${_dest} )
- tde_install_symlink( ${HTML_INSTALL_DIR}/${_lang}/common ${_dest} )
+ tde_install_symlink( ${TDE_HTML_DIR}/${_lang}/common ${_dest} )
endmacro( )
@@ -1103,3 +1103,16 @@ macro( tde_restore )
unset( __bak_${_var} )
endforeach()
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( )