diff options
author | Astonex <softukitu@gmail.com> | 2013-07-31 23:02:09 +0100 |
---|---|---|
committer | Astonex <softukitu@gmail.com> | 2013-07-31 23:02:09 +0100 |
commit | f05aa308701f33f3bf9df022a4b376deeedef235 (patch) | |
tree | c10b8a3cca6822400853bfd3bc2c5fd1cca73f83 /core/CMakeLists.txt | |
parent | 8dfba27242ca23fca5de852541f2101568dbf7cb (diff) | |
parent | c558cb63f6db35bd51f2f2331e21df03105ee82a (diff) |
Merge remote-tracking branch 'ProjectTox/master'
Diffstat (limited to 'core/CMakeLists.txt')
-rw-r--r-- | core/CMakeLists.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 6ddd5b9b..44ae980c 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt | |||
@@ -3,15 +3,17 @@ project(core C) | |||
3 | 3 | ||
4 | if(WIN32) | 4 | if(WIN32) |
5 | include_directories(${CMAKE_HOME_DIRECTORY}/sodium/include/) | 5 | include_directories(${CMAKE_HOME_DIRECTORY}/sodium/include/) |
6 | else(WIN32) | ||
7 | include_directories(${SODIUM_INCLUDE_DIR}) | ||
6 | endif() | 8 | endif() |
7 | 9 | ||
8 | set(core_sources | 10 | set(core_sources |
9 | DHT.c | 11 | DHT.c |
10 | network.c | 12 | network.c |
11 | Lossless_UDP.c | 13 | Lossless_UDP.c |
12 | net_crypto.c | 14 | net_crypto.c |
13 | friend_requests.c | 15 | friend_requests.c |
14 | LAN_discovery.c | 16 | LAN_discovery.c |
15 | Messenger.c) | 17 | Messenger.c) |
16 | 18 | ||
17 | add_library(core ${core_sources}) | 19 | add_library(core ${core_sources}) |