relative install paths in cmake

Jason Harris kstars at 30doradus.org
Thu Jul 13 17:50:39 BST 2006


David Faure wrote:
> Are you using INSTALL() or INSTALL_FILES() (or INSTALL_*) in the
> CMakeLists.txt? The latter should be turned into the former.

It looks like I'm using install() everywhere:

% grep -i install kdeedu/kstars/kstars/CMakeLists.txt
install(TARGETS kstars  DESTINATION ${BIN_INSTALL_DIR} )
########### install files ###############
install( FILES kstars.desktop  DESTINATION  ${XDG_APPS_DIR} )
install( FILES kstars.kcfg  DESTINATION  ${KCFG_INSTALL_DIR} )
install( FILES kstarsrc  DESTINATION  ${CONFIG_INSTALL_DIR} )
install( FILES kstarsui.rc fitsviewer.rc  DESTINATION  
${DATA_INSTALL_DIR}/kstars/ )
install( FILES  DESTINATION  ${INCLUDE_INSTALL_DIR} )
kde4_install_icons( ${ICON_INSTALL_DIR}  hicolor )

Jason
-- 
-------------------------------
KStars: http://edu.kde.org/kstars
Forums: http://kstars.30doradus.org




More information about the kde-core-devel mailing list