mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-12-03 11:32:04 +00:00
Opt in to video encryption on CPUs with good AES perf
This commit is contained in:
1 parent
02cddf762b
commit
0712e05aab
4 files changed
+51
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user