summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-12 17:03:54 -0400
committerirungentoo <irungentoo@gmail.com>2013-07-12 17:03:54 -0400
commit5725e86a93a1558491b98ad8394fb83a0f19b14e (patch)
tree0cd9ee54758039847dc5d22d83dc7668f1924879
parente80ac120e1f5b53e3ac4d337628838a4ea58adc3 (diff)
Build fixed?
-rw-r--r--CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 099232d9..06bde84a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,15 +13,16 @@ set(test_sources
13 13
14set(exe_name TOX-app) 14set(exe_name TOX-app)
15 15
16target_link_libraries(sodium)
17 16
18add_executable(${exe_name} 17add_executable(${exe_name}
19 ${core_sources} 18 ${core_sources}
20 ${test_sources}) 19 ${test_sources})
21 20
22if(WIN32) 21if(WIN32)
23 target_link_libraries(${exe_name} ws2_32) 22 target_link_libraries(${exe_name} ws2_32 libsodium)
24endif() 23else(WIN32)
24 target_link_libraries(libsodium)
25endif(WIN32)
25 26
26if(CMAKE_COMPILER_IS_GNUCC) 27if(CMAKE_COMPILER_IS_GNUCC)
27 message(STATUS "==== GCC detected - Adding compiler flags") 28 message(STATUS "==== GCC detected - Adding compiler flags")