2020-07-20 20:06:41 +02:00
|
|
|
# Define the current source locations
|
|
|
|
find_package(CEC REQUIRED)
|
|
|
|
|
|
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/cec)
|
|
|
|
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})
|
|
|
|
|
|
|
|
include_directories(${CEC_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
target_link_libraries(cechandler
|
|
|
|
dl
|
|
|
|
${CEC_LIBRARIES}
|
2021-11-16 18:12:56 +01:00
|
|
|
Qt${QT_VERSION_MAJOR}::Core
|
2020-07-20 20:06:41 +02:00
|
|
|
)
|
|
|
|
|