Readded libtoxcore linking.

This reverts commit bdd140f4f4.
This commit is contained in:
Håvard Pettersson 2014-09-08 03:28:15 +02:00
parent bdd140f4f4
commit 68f2237b12

View file

@ -14,6 +14,8 @@ add_library(tox MODULE
add_definitions(-D_GNU_SOURCE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Werror-implicit-function-declaration -Wno-unused-parameter")
target_link_libraries(tox toxcore)
# remove lib prefix (libtox.so -> tox.so)
set_target_properties(tox PROPERTIES PREFIX "")