1
0
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:
Ryan Farley
2019-04-25 16:53:55 -05:00
parent 38535686f8
commit 8df3ad3d26
23 changed files with 30 additions and 28 deletions
+1 -1
View File
@@ -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)