1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00
sdrangel/devices/limesdr/CMakeLists.txt
2019-06-24 18:25:53 +02:00

36 lines
656 B
CMake

project(limesdrdevice)
set(limesdrdevice_SOURCES
devicelimesdr.cpp
devicelimesdrparam.cpp
devicelimesdrshared.cpp
)
set(limesdrdevice_HEADERS
devicelimesdr.h
devicelimesdrparam.h
devicelimesdrshared.h
)
include_directories(
${LIMESUITE_INCLUDE_DIR}
)
add_library(limesdrdevice SHARED
${limesdrdevice_SOURCES}
)
set_target_properties(limesdrdevice
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
target_link_libraries(limesdrdevice
${LIMESUITE_LIBRARY}
sdrbase
)
if(ENABLE_EXTERNAL_LIBRARIES)
add_dependencies(limesdrdevice limesuite)
endif()
install(TARGETS limesdrdevice DESTINATION ${INSTALL_LIB_DIR})