summaryrefslogtreecommitdiff
path: root/cmake/Dependencies.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Dependencies.cmake')
-rw-r--r--cmake/Dependencies.cmake32
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
9find_package(Threads REQUIRED) 9find_package(Threads REQUIRED)
10 10
11find_library(NCURSES_LIBRARIES ncurses ) 11find_library(NCURSES_LIBRARIES ncurses )
12find_library(UTIL_LIBRARIES util ) 12find_library(UTIL_LIBRARIES util )
13find_library(RT_LIBRARIES rt ) 13find_library(RT_LIBRARIES rt )
14 14
15# For toxcore. 15# For toxcore.
16pkg_use_module(LIBSODIUM libsodium ) 16pkg_use_module(LIBSODIUM libsodium )
17pkg_use_module(LIBEV ev )
18if(NOT LIBEV_FOUND)
19 if(NOT WIN32)
20 pkg_use_module(LIBEVENT libevent_pthreads )
21 else()
22 pkg_use_module(LIBEVENT libevent )
23 endif()
24endif()
25 17
26# For toxav. 18# For toxav.
27pkg_use_module(OPUS opus ) 19pkg_use_module(OPUS opus )
28pkg_use_module(VPX vpx ) 20pkg_use_module(VPX vpx )
29 21
30# For tox-bootstrapd. 22# For tox-bootstrapd.
31pkg_use_module(LIBCONFIG libconfig ) 23pkg_use_module(LIBCONFIG libconfig )
32 24
33# For auto tests. 25# For auto tests.
34pkg_use_module(CHECK check ) 26pkg_use_module(CHECK check )
35 27
36# For tox-spectest. 28# For tox-spectest.
37pkg_use_module(MSGPACK msgpack ) 29pkg_use_module(MSGPACK msgpack )
38 30
39# For av_test. 31# For av_test.
40pkg_use_module(OPENCV opencv ) 32pkg_use_module(OPENCV opencv )
41pkg_use_module(PORTAUDIO portaudio-2.0 ) 33pkg_use_module(PORTAUDIO portaudio-2.0)
42pkg_use_module(SNDFILE sndfile ) 34pkg_use_module(SNDFILE sndfile )
43 35
44############################################################################### 36###############################################################################
45# 37#