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, 20 insertions, 12 deletions
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
index 5ad332bd..4cb96594 100644
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -8,30 +8,38 @@ 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()
17 25
18# For toxav. 26# For toxav.
19pkg_use_module(OPUS opus ) 27pkg_use_module(OPUS opus )
20pkg_use_module(VPX vpx ) 28pkg_use_module(VPX vpx )
21 29
22# For tox-bootstrapd. 30# For tox-bootstrapd.
23pkg_use_module(LIBCONFIG libconfig ) 31pkg_use_module(LIBCONFIG libconfig )
24 32
25# For auto tests. 33# For auto tests.
26pkg_use_module(CHECK check ) 34pkg_use_module(CHECK check )
27 35
28# For tox-spectest. 36# For tox-spectest.
29pkg_use_module(MSGPACK msgpack ) 37pkg_use_module(MSGPACK msgpack )
30 38
31# For av_test. 39# For av_test.
32pkg_use_module(OPENCV opencv ) 40pkg_use_module(OPENCV opencv )
33pkg_use_module(PORTAUDIO portaudio-2.0) 41pkg_use_module(PORTAUDIO portaudio-2.0 )
34pkg_use_module(SNDFILE sndfile ) 42pkg_use_module(SNDFILE sndfile )
35 43
36############################################################################### 44###############################################################################
37# 45#