mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-19 11:35:12 +00:00
respect LIB_INSTALL_DIR
This commit is contained in:
parent
2fab2d3820
commit
89f9a6bdf1
@ -56,7 +56,10 @@ endif(BUILD_I18N)
|
|||||||
# Some standard options
|
# Some standard options
|
||||||
set(SYSTEM_CONFIG_FILE "/etc/conky/conky.conf" CACHE STRING "Default system-wide Conky configuration file")
|
set(SYSTEM_CONFIG_FILE "/etc/conky/conky.conf" CACHE STRING "Default system-wide Conky configuration file")
|
||||||
# use FORCE below to make sure this changes when CMAKE_INSTALL_PREFIX is modified
|
# use FORCE below to make sure this changes when CMAKE_INSTALL_PREFIX is modified
|
||||||
set(PACKAGE_LIBRARY_DIR "${CMAKE_INSTALL_PREFIX}/lib/conky" CACHE STRING "Package library path (where Lua bindings are installed" FORCE)
|
if (NOT LIB_INSTALL_DIR)
|
||||||
|
set (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib")
|
||||||
|
endif (NOT LIB_INSTALL_DIR)
|
||||||
|
set(PACKAGE_LIBRARY_DIR "${LIB_INSTALL_DIR}/conky" CACHE STRING "Package library path (where Lua bindings are installed" FORCE)
|
||||||
set(DEFAULTNETDEV "eth0" CACHE STRING "Default networkdevice")
|
set(DEFAULTNETDEV "eth0" CACHE STRING "Default networkdevice")
|
||||||
set(XDG_CONFIG_FILE "$HOME/.config/conky/conky.conf" CACHE STRING "Configfile of the user (XDG)")
|
set(XDG_CONFIG_FILE "$HOME/.config/conky/conky.conf" CACHE STRING "Configfile of the user (XDG)")
|
||||||
set(CONFIG_FILE "$HOME/.conkyrc" CACHE STRING "Configfile of the user")
|
set(CONFIG_FILE "$HOME/.conkyrc" CACHE STRING "Configfile of the user")
|
||||||
|
@ -76,6 +76,6 @@ endif(BUILD_LUA_CAIRO AND BUILD_LUA_IMLIB2)
|
|||||||
|
|
||||||
install(TARGETS
|
install(TARGETS
|
||||||
${lua_libs}
|
${lua_libs}
|
||||||
LIBRARY DESTINATION lib${LIB_SUFFIX}/conky
|
LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky
|
||||||
ARCHIVE DESTINATION lib${LIB_SUFFIX}/conky
|
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user