mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 12:26:40 +02:00
cmake: allow custom libdir (fix #1341)
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR used to be set).
This commit is contained in:
@@ -28,4 +28,4 @@ if(LUA_FOUND)
|
||||
target_link_libraries(lua ${LUA_LDFLAGS} weechat_plugins_scripts coverage_config)
|
||||
endif()
|
||||
|
||||
install(TARGETS lua LIBRARY DESTINATION ${LIBDIR}/plugins)
|
||||
install(TARGETS lua LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins)
|
||||
|
||||
Reference in New Issue
Block a user