Fixed cmake install for OSX.

This commit is contained in:
Håvard Pettersson 2014-09-04 18:13:28 +02:00
parent d8d9791e0b
commit 0dd50264bd

View file

@ -18,4 +18,4 @@ set_target_properties(tox PROPERTIES PREFIX "")
target_link_libraries(tox toxcore)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tox.so DESTINATION ~/.weechat/plugins)
install(TARGETS tox DESTINATION ~/.weechat/plugins)