From a5f909a3dfcc77d6ea98dc983bc255c683141264 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 19 Jun 2008 15:31:19 +0200 Subject: [PATCH] cmake: variables that are used in .in files need absolute path --- awesomeConfig.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index 57ef4bfd..3e0c2ec6 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -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