cmake: variables that are used in .in files need absolute path

This commit is contained in:
Michael Gehring 2008-06-19 15:31:19 +02:00 committed by Julien Danjou
parent e4db646968
commit a5f909a3df

View file

@ -122,11 +122,11 @@ SET( AWESOME_RELEASE ${VERSION} )
SET( AWESOME_ETC etc )
SET( AWESOME_SHARE share )
SET( AWESOME_DATA_PATH share/${PROJECT_AWE_NAME} )
SET( AWESOME_LUA_LIB_PATH ${AWESOME_DATA_PATH}/lib )
SET( AWESOME_ICON_PATH ${AWESOME_DATA_PATH}/icons )
SET( AWESOME_CONF_PATH ${AWESOME_ETC}/${PROJECT_AWE_NAME} )
SET( AWESOME_MAN1_PATH ${AWESOME_SHARE}/man/man1 )
SET( AWESOME_MAN5_PATH ${AWESOME_SHARE}/man/man5 )
SET( AWESOME_LUA_LIB_PATH ${CMAKE_INSTALL_PREFIX}/${AWESOME_DATA_PATH}/lib )
SET( AWESOME_ICON_PATH ${CMAKE_INSTALL_PREFIX}/${AWESOME_DATA_PATH}/icons )
SET( AWESOME_CONF_PATH ${CMAKE_INSTALL_PREFIX}/${AWESOME_ETC}/${PROJECT_AWE_NAME} )
# Configure awesome config.h from template
CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in