diff --git a/CMakeLists.txt b/CMakeLists.txt index 733eae7a9..c00719d58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,6 @@ ENDIF( AWESOME_GENERATE_MAN ) INSTALL( TARGETS ${PROJECT_AWE_NAME} ${PROJECT_AWECLIENT_NAME} RUNTIME DESTINATION bin - LIBRARY DESTINATION lib ) INSTALL( FILES ${AWE_LUA_FILES} diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index 4638deeba..57ef4bfdc 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -119,9 +119,9 @@ SET( AWESOME_COMPILE_MACHINE ${CMAKE_SYSTEM_PROCESSOR} ) SET( AWESOME_COMPILE_HOSTNAME $ENV{HOSTNAME} ) 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_DATA_PATH ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_AWE_NAME} ) +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} )