diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-12 17:03:54 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-12 17:03:54 -0400 |
commit | 5725e86a93a1558491b98ad8394fb83a0f19b14e (patch) | |
tree | 0cd9ee54758039847dc5d22d83dc7668f1924879 | |
parent | e80ac120e1f5b53e3ac4d337628838a4ea58adc3 (diff) |
Build fixed?
-rw-r--r-- | CMakeLists.txt | 7 |
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 | ||
14 | set(exe_name TOX-app) | 14 | set(exe_name TOX-app) |
15 | 15 | ||
16 | target_link_libraries(sodium) | ||
17 | 16 | ||
18 | add_executable(${exe_name} | 17 | add_executable(${exe_name} |
19 | ${core_sources} | 18 | ${core_sources} |
20 | ${test_sources}) | 19 | ${test_sources}) |
21 | 20 | ||
22 | if(WIN32) | 21 | if(WIN32) |
23 | target_link_libraries(${exe_name} ws2_32) | 22 | target_link_libraries(${exe_name} ws2_32 libsodium) |
24 | endif() | 23 | else(WIN32) |
24 | target_link_libraries(libsodium) | ||
25 | endif(WIN32) | ||
25 | 26 | ||
26 | if(CMAKE_COMPILER_IS_GNUCC) | 27 | if(CMAKE_COMPILER_IS_GNUCC) |
27 | message(STATUS "==== GCC detected - Adding compiler flags") | 28 | message(STATUS "==== GCC detected - Adding compiler flags") |