mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
update to cmake 2.8.12 (#451)
* update * resolve qt5w * test * Go down cmake python search won the price for crazy lib searches! * 2.7 python forced, RPATH * upstream * ... * update * ... * 2.7.12 py it picks random versions... * max 7.12.5.... * Test 14.04 tests
This commit is contained in:
@@ -3,25 +3,17 @@
|
||||
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
|
||||
${CURRENT_HEADER_DIR}/UDPListener.h
|
||||
)
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user