Changed install location to /usr/local/lib/weechat/plugins.
This commit is contained in:
parent
b60ac98a3e
commit
8f023e95e8
2 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,6 @@
|
|||
cmake_minimum_required(VERSION 2.8.7)
|
||||
|
||||
project(tox-weechat)
|
||||
add_definitions(-std=c99 -D_GNU_SOURCE)
|
||||
|
||||
add_library(tox SHARED
|
||||
src/tox-weechat.c
|
||||
|
@ -12,10 +11,10 @@ add_library(tox SHARED
|
|||
src/tox-weechat-chats.c
|
||||
src/tox-weechat-friend-requests.c
|
||||
)
|
||||
|
||||
# remove lib prefix
|
||||
set_target_properties(tox PROPERTIES PREFIX "")
|
||||
|
||||
add_definitions(-std=c99 -D_GNU_SOURCE)
|
||||
target_link_libraries(tox toxcore)
|
||||
|
||||
install(TARGETS tox DESTINATION ~/.weechat/plugins)
|
||||
# remove lib prefix (libtox.so -> tox.so)
|
||||
set_target_properties(tox PROPERTIES PREFIX "")
|
||||
|
||||
install(TARGETS tox DESTINATION lib/weechat/plugins)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue