mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 03:46:39 +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(PYTHON_FOUND)
|
||||
target_link_libraries(python ${PYTHON_LIBRARY} weechat_plugins_scripts coverage_config)
|
||||
endif()
|
||||
|
||||
install(TARGETS python LIBRARY DESTINATION ${LIBDIR}/plugins)
|
||||
install(TARGETS python LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins)
|
||||
|
||||
Reference in New Issue
Block a user