cmake: fix icon install path
This commit is contained in:
parent
08ad77d94c
commit
34a5a75860
|
@ -15,7 +15,7 @@ SET( AWE_LUA_FILES ${CMAKE_CURRENT_SOURCE_DIR}/tabulous.lua
|
|||
SET( AWE_CONF_FILES ${CMAKE_CURRENT_SOURCE_DIR}/awesomerc.lua
|
||||
)
|
||||
|
||||
SET( AWE_ICON_PATH ${CMAKE_CURRENT_SOURCE_DIR}/icons )
|
||||
SET( AWE_ICON_DIR ${CMAKE_CURRENT_SOURCE_DIR}/icons )
|
||||
|
||||
SET( AWE_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/awesome.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/client.c
|
||||
|
@ -157,7 +157,7 @@ INSTALL( FILES ${AWE_MAN5_NAME}
|
|||
DESTINATION ${AWESOME_MAN5_PATH}
|
||||
)
|
||||
|
||||
INSTALL( DIRECTORY ${AWE_ICON_PATH}
|
||||
DESTINATION ${AWESOME_ICON_PATH}
|
||||
INSTALL( DIRECTORY ${AWE_ICON_DIR}
|
||||
DESTINATION ${AWESOME_DATA_PATH}
|
||||
)
|
||||
|
||||
|
|
|
@ -117,8 +117,9 @@ SET( AWESOME_COMPILE_BY $ENV{USER} )
|
|||
SET( AWESOME_RELEASE ${VERSION} )
|
||||
SET( AWESOME_ETC ${CMAKE_INSTALL_PREFIX}/etc )
|
||||
SET( AWESOME_SHARE ${CMAKE_INSTALL_PREFIX}/share )
|
||||
SET( AWESOME_LUA_LIB_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME}/lib )
|
||||
SET( AWESOME_ICON_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME}/icons )
|
||||
SET( AWESOME_DATA_PATH ${CMAKE_INSTALL_PREFIX}/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 )
|
||||
|
|
Loading…
Reference in New Issue