mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-01 15:25:35 +00:00
Fix HAVE_GETAUXVAL codepath
This commit is contained in:
parent
b08a04c378
commit
d3d79c3224
@ -94,6 +94,9 @@ endif()
|
|||||||
|
|
||||||
check_c_source_compiles("#include <sys/auxv.h>
|
check_c_source_compiles("#include <sys/auxv.h>
|
||||||
int main(void) { return getauxval(AT_HWCAP); }" HAVE_GETAUXVAL)
|
int main(void) { return getauxval(AT_HWCAP); }" HAVE_GETAUXVAL)
|
||||||
|
if (HAVE_GETAUXVAL)
|
||||||
|
list(APPEND MOONLIGHT_DEFINITIONS HAVE_GETAUXVAL)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (CEC_FOUND)
|
if (CEC_FOUND)
|
||||||
list(APPEND MOONLIGHT_DEFINITIONS HAVE_LIBCEC)
|
list(APPEND MOONLIGHT_DEFINITIONS HAVE_LIBCEC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user