10 lines
362 B
CMake
10 lines
362 B
CMake
cmake_minimum_required(VERSION 2.6)
|
|
FILE(GLOB SRC *.cpp)
|
|
FILE(GLOB HEADERS *.h)
|
|
QT4_WRAP_CPP(SRC ${HEADERS})
|
|
ADD_EXECUTABLE(spectrum2_libcommuni_backend ${SRC})
|
|
|
|
target_link_libraries(spectrum2_libcommuni_backend ${IRC_LIBRARY} ${QT_LIBRARIES} transport-plugin transport pthread)
|
|
|
|
INSTALL(TARGETS spectrum2_libcommuni_backend RUNTIME DESTINATION bin)
|
|
|