From 06c0de84c0e76603789cbf9556d555963ccb245f Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Sat, 20 May 2023 18:18:14 +0200 Subject: [PATCH] Fix CEC CMakeList for Ubuntu 23.04 --- libsrc/cec/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/libsrc/cec/CMakeLists.txt b/libsrc/cec/CMakeLists.txt index 00a1497b..dfd80e7d 100644 --- a/libsrc/cec/CMakeLists.txt +++ b/libsrc/cec/CMakeLists.txt @@ -7,6 +7,7 @@ SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/cec) FILE (GLOB CEC_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp") add_library(cechandler ${CEC_SOURCES}) +list(GET CEC_LIBRARIES 0 CEC_LIBRARIES) add_definitions(-DCEC_LIBRARY="${CEC_LIBRARIES}") include_directories(${CEC_INCLUDE_DIRS})