mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +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(PHP_FOUND)
|
||||
target_link_libraries(php ${PHP_LIB} weechat_plugins_scripts coverage_config)
|
||||
endif()
|
||||
|
||||
install(TARGETS php LIBRARY DESTINATION ${LIBDIR}/plugins)
|
||||
install(TARGETS php LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins)
|
||||
|
||||
Reference in New Issue
Block a user