mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-12-01 18:24:24 +00:00
Fix CEC build problems
This commit is contained in:
1 parent
86a9eb2233
commit
dc83e8c9a1
3 files changed
+15
-5
No files matched your search
+1
-2
@@ -28,7 +28,6 @@ pkg_check_modules(AVUTIL libavutil)
|
||||
pkg_check_modules(SWSCALE libswscale)
|
||||
|
||||
if(CEC_FOUND)
|
||||
include_directories(./third_party/libcec)
|
||||
list(APPEND MOONLIGHT_DEFINITIONS HAVE_LIBCEC)
|
||||
endif()
|
||||
|
||||
@@ -69,7 +68,7 @@ set_property(TARGET moonlight PROPERTY C_STANDARD 11)
|
||||
|
||||
if (CEC_FOUND)
|
||||
list(APPEND MOONLIGHT_DEFINITIONS HAVE_LIBCEC)
|
||||
target_include_directories(moonlight PRIVATE ./third_party/libcec ${CEC_INCLUDE_DIRS})
|
||||
target_include_directories(moonlight PRIVATE ./third_party/libcec ${CEC_INCLUDE_DIRS}/libcec)
|
||||
target_link_libraries (moonlight PUBLIC ${CEC_LIBRARIES})
|
||||
endif()
|
||||
|
||||
|
||||
Reference in new issue
Block a user