From add9c0b6dc8b2aeaffdf69aaee837037ef9b81bc Mon Sep 17 00:00:00 2001 From: Chloride Cull Date: Sat, 3 Aug 2013 18:25:12 +0200 Subject: Changed CMake options to compile the core shared It is now compiled under 'toxcore' instead of just 'core' to be able to be installed without conflicts. --- core/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/CMakeLists.txt') diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 44ae980c..36acb6cf 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 2.6.0) -project(core C) +project(toxcore C) if(WIN32) include_directories(${CMAKE_HOME_DIRECTORY}/sodium/include/) @@ -16,4 +16,4 @@ set(core_sources LAN_discovery.c Messenger.c) -add_library(core ${core_sources}) +add_library(toxcore SHARED ${core_sources}) -- cgit v1.2.3