diff options
Diffstat (limited to 'cmake/Dependencies.cmake')
-rw-r--r-- | cmake/Dependencies.cmake | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index 4cb96594..5ad332bd 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake | |||
@@ -8,38 +8,30 @@ include(ModulePackage) | |||
8 | 8 | ||
9 | find_package(Threads REQUIRED) | 9 | find_package(Threads REQUIRED) |
10 | 10 | ||
11 | find_library(NCURSES_LIBRARIES ncurses ) | 11 | find_library(NCURSES_LIBRARIES ncurses ) |
12 | find_library(UTIL_LIBRARIES util ) | 12 | find_library(UTIL_LIBRARIES util ) |
13 | find_library(RT_LIBRARIES rt ) | 13 | find_library(RT_LIBRARIES rt ) |
14 | 14 | ||
15 | # For toxcore. | 15 | # For toxcore. |
16 | pkg_use_module(LIBSODIUM libsodium ) | 16 | pkg_use_module(LIBSODIUM libsodium ) |
17 | pkg_use_module(LIBEV ev ) | ||
18 | if(NOT LIBEV_FOUND) | ||
19 | if(NOT WIN32) | ||
20 | pkg_use_module(LIBEVENT libevent_pthreads ) | ||
21 | else() | ||
22 | pkg_use_module(LIBEVENT libevent ) | ||
23 | endif() | ||
24 | endif() | ||
25 | 17 | ||
26 | # For toxav. | 18 | # For toxav. |
27 | pkg_use_module(OPUS opus ) | 19 | pkg_use_module(OPUS opus ) |
28 | pkg_use_module(VPX vpx ) | 20 | pkg_use_module(VPX vpx ) |
29 | 21 | ||
30 | # For tox-bootstrapd. | 22 | # For tox-bootstrapd. |
31 | pkg_use_module(LIBCONFIG libconfig ) | 23 | pkg_use_module(LIBCONFIG libconfig ) |
32 | 24 | ||
33 | # For auto tests. | 25 | # For auto tests. |
34 | pkg_use_module(CHECK check ) | 26 | pkg_use_module(CHECK check ) |
35 | 27 | ||
36 | # For tox-spectest. | 28 | # For tox-spectest. |
37 | pkg_use_module(MSGPACK msgpack ) | 29 | pkg_use_module(MSGPACK msgpack ) |
38 | 30 | ||
39 | # For av_test. | 31 | # For av_test. |
40 | pkg_use_module(OPENCV opencv ) | 32 | pkg_use_module(OPENCV opencv ) |
41 | pkg_use_module(PORTAUDIO portaudio-2.0 ) | 33 | pkg_use_module(PORTAUDIO portaudio-2.0) |
42 | pkg_use_module(SNDFILE sndfile ) | 34 | pkg_use_module(SNDFILE sndfile ) |
43 | 35 | ||
44 | ############################################################################### | 36 | ############################################################################### |
45 | # | 37 | # |