diff options
author | Ryan Farley <ryan.farley@gmx.com> | 2019-04-25 16:53:55 -0500 |
---|---|---|
committer | Ryan Farley <ryan.farley@gmx.com> | 2019-04-25 16:53:55 -0500 |
commit | 8df3ad3d2613cb0dd3f034c3f1767d3f7eba056b (patch) | |
tree | 2eb38ead752e9b44c61f9083bade0a085302c0d2 /src/plugins/javascript | |
parent | 38535686f841c107cb95ff618f7b152af98a8ff4 (diff) | |
download | weechat-8df3ad3d2613cb0dd3f034c3f1767d3f7eba056b.zip |
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).
Diffstat (limited to 'src/plugins/javascript')
-rw-r--r-- | src/plugins/javascript/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/javascript/CMakeLists.txt b/src/plugins/javascript/CMakeLists.txt index ceb5a99f5..37ebad3d5 100644 --- a/src/plugins/javascript/CMakeLists.txt +++ b/src/plugins/javascript/CMakeLists.txt @@ -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) |