From 68f2237b12282e3945cd7a2f18c5bc193a35ef25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Pettersson?= Date: Mon, 8 Sep 2014 03:28:15 +0200 Subject: [PATCH] Readded libtoxcore linking. This reverts commit bdd140f4f40651b41bdc59d7672434816de8eef9. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63fa7cd..f1016c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 "")