diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 841b756a..23bfdcdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -11,7 +11,7 @@ set(core_sources | |||
11 | core/Messenger.c) | 11 | core/Messenger.c) |
12 | 12 | ||
13 | set(test_sources | 13 | set(test_sources |
14 | testing/Messenger_test.c) | 14 | testing/nTox.c) |
15 | 15 | ||
16 | add_executable(${exe_name} | 16 | add_executable(${exe_name} |
17 | ${core_sources} | 17 | ${core_sources} |
@@ -23,6 +23,7 @@ if(WIN32) | |||
23 | ${CMAKE_SOURCE_DIR}/sodium/lib/libsodium.a) | 23 | ${CMAKE_SOURCE_DIR}/sodium/lib/libsodium.a) |
24 | else() | 24 | else() |
25 | target_link_libraries(${exe_name} sodium) | 25 | target_link_libraries(${exe_name} sodium) |
26 | target_link_libraries(${exe_name} ncurses) | ||
26 | endif() | 27 | endif() |
27 | 28 | ||
28 | if(CMAKE_COMPILER_IS_GNUCC) | 29 | if(CMAKE_COMPILER_IS_GNUCC) |