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
commite485f450201ef79bd64e34d6345454a5075fd227 (patch)
tree19fd9f67a2289ba93f36c26223e5b689602196a9
parent62c6e00a6b7c31827cfbf3c1526a3c1dc03ea301 (diff)
downloadother-e485f450201ef79bd64e34d6345454a5075fd227.tar.gz
other-e485f450201ef79bd64e34d6345454a5075fd227.zip
[kde-common/cmake] TDEMacros.cmake: added tde_setup_install_path()
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1225817 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--cmake/modules/TDEMacros.cmake15
1 files changed, 14 insertions, 1 deletions
diff --git a/cmake/modules/TDEMacros.cmake b/cmake/modules/TDEMacros.cmake
index acca9d5..2c57114 100644
--- a/cmake/modules/TDEMacros.cmake
+++ b/cmake/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( )