1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-25 04:03:30 -05:00
sdrangel/sdrsrv/CMakeLists.txt
2020-10-11 12:39:30 +02:00

38 lines
674 B
CMake

project (sdrsrv)
set(sdrsrv_SOURCES
mainserver.cpp
)
set(sdrsrv_HEADERS
mainserver.h
)
if (LIMESUITE_FOUND)
include_directories(${LIMESUITE_INCLUDE_DIR})
set(sdrgui_LIMERFE_LIB ${LIMESUITE_LIBRARY})
endif (LIMESUITE_FOUND)
include_directories(
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_SOURCE_DIR}/logging
${CMAKE_SOURCE_DIR}/httpserver
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${OPENGL_INCLUDE_DIR}
)
add_library(sdrsrv SHARED
${sdrsrv_SOURCES}
)
target_link_libraries(sdrsrv
Qt5::Core
Qt5::Multimedia
sdrbase
logging
)
install(TARGETS sdrsrv DESTINATION ${INSTALL_LIB_DIR})