mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
48134d0aef
* Trying to remove dependency on Widget removed unused bonjour example source * forgot the modified files
31 lines
653 B
CMake
31 lines
653 B
CMake
|
|
# Define the current source locations
|
|
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/udplistener)
|
|
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/udplistener)
|
|
|
|
# Group the headers that go through the MOC compiler
|
|
set(UDPListener_QT_HEADERS
|
|
${CURRENT_HEADER_DIR}/UDPListener.h
|
|
)
|
|
|
|
set(UDPListener_HEADERS
|
|
)
|
|
|
|
set(UDPListener_SOURCES
|
|
${CURRENT_SOURCE_DIR}/UDPListener.cpp
|
|
)
|
|
|
|
qt5_wrap_cpp(UDPListener_HEADERS_MOC ${UDPListener_QT_HEADERS})
|
|
|
|
add_library(udplistener
|
|
${UDPListener_HEADERS}
|
|
${UDPListener_QT_HEADERS}
|
|
${UDPListener_SOURCES}
|
|
${UDPListener_HEADERS_MOC}
|
|
)
|
|
|
|
target_link_libraries(udplistener
|
|
hyperion
|
|
hyperion-utils
|
|
${QT_LIBRARIES})
|