mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
f0c35071da
Former-commit-id: f3003eb0142af3d085ccf93fff1b297ebc2321fc
20 lines
416 B
CMake
20 lines
416 B
CMake
# Define the current source locations
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/grabber)
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/grabber/v4l2)
|
|
|
|
SET(V4L2_HEADERS
|
|
${CURRENT_HEADER_DIR}/V4L2Grabber.h
|
|
)
|
|
|
|
SET(V4L2_SOURCES
|
|
${CURRENT_SOURCE_DIR}/V4L2Grabber.cpp
|
|
)
|
|
|
|
add_library(v4l2-grabber
|
|
${V4L2_HEADERS}
|
|
${V4L2_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(v4l2-grabber
|
|
hyperion-utils)
|