Opt in to video encryption on CPUs with good AES perf

This commit is contained in:
Cameron Gutman committed 2024-01-15 17:35:59 -06:00
1 parent 02cddf762b
commit 0712e05aab
4 files changed
+51 -2

No files matched your search

+3
View File
@@ -92,6 +92,9 @@ if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
target_sources(moonlight PRIVATE ./src/audio/oss.c)
endif()
check_c_source_compiles("#include <sys/auxv.h>
int main(void) { return getauxval(AT_HWCAP); }" HAVE_GETAUXVAL)
if (CEC_FOUND)
list(APPEND MOONLIGHT_DEFINITIONS HAVE_LIBCEC)
list(APPEND MOONLIGHT_OPTIONS CEC)