mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 11:56:38 +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:
@@ -30,4 +30,4 @@ if(V8_FOUND)
|
||||
target_link_libraries(javascript ${V8_LIBRARY} weechat_plugins_scripts coverage_config)
|
||||
endif()
|
||||
|
||||
install(TARGETS javascript LIBRARY DESTINATION ${LIBDIR}/plugins)
|
||||
install(TARGETS javascript LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins)
|
||||
|
||||
Reference in New Issue
Block a user