diff --git a/CMakeLists.txt b/CMakeLists.txt index 91d35e5..461540d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,4 +18,4 @@ set_target_properties(tox PROPERTIES PREFIX "") target_link_libraries(tox toxcore) -install(FILES tox.so DESTINATION ~/.weechat/plugins) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tox.so DESTINATION ~/.weechat/plugins)