|
|
|
@ -94,10 +94,21 @@ search_dependency(LIBQRENCODE PACKAGE libqrencode)
@@ -94,10 +94,21 @@ search_dependency(LIBQRENCODE PACKAGE libqrencode)
|
|
|
|
|
search_dependency(LIBSODIUM PACKAGE libsodium) |
|
|
|
|
search_dependency(LIBSWSCALE PACKAGE libswscale) |
|
|
|
|
search_dependency(SQLCIPHER PACKAGE sqlcipher) |
|
|
|
|
search_dependency(TOXCORE PACKAGE libtoxcore) |
|
|
|
|
search_dependency(TOXAV PACKAGE libtoxav) |
|
|
|
|
search_dependency(VPX PACKAGE vpx) |
|
|
|
|
|
|
|
|
|
# Try to find cmake toxcore libraries |
|
|
|
|
search_dependency(TOXCORE PACKAGE toxcore OPTIONAL) |
|
|
|
|
search_dependency(TOXAV PACKAGE toxav OPTIONAL) |
|
|
|
|
search_dependency(TOXENCRYPTSAVE PACKAGE toxencryptsave OPTIONAL) |
|
|
|
|
|
|
|
|
|
# If not found, use automake toxcore libraries |
|
|
|
|
if (NOT TOXCORE_FOUND OR |
|
|
|
|
NOT TOXAV_FOUND OR |
|
|
|
|
NOT TOXENCRYPTSAVE_FOUND) |
|
|
|
|
search_dependency(TOXCORE PACKAGE libtoxcore) |
|
|
|
|
search_dependency(TOXAV PACKAGE libtoxav) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
search_dependency(OPENAL PACKAGE openal FRAMEWORK OpenAL) |
|
|
|
|
|
|
|
|
|
# Automatic auto-away support. (X11 also using for capslock detection) |
|
|
|
|