1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-05 08:21:16 -05:00
sdrangel/devices/bladerf2/CMakeLists.txt

34 lines
614 B
CMake
Raw Normal View History

project(bladerf2device)
set(bladerf2device_SOURCES
devicebladerf2.cpp
2018-09-23 13:56:24 -04:00
devicebladerf2shared.cpp
)
set(bladerf2device_HEADERS
devicebladerf2.h
2018-09-23 13:56:24 -04:00
devicebladerf2shared.h
)
include_directories(
${LIBBLADERF_INCLUDE_DIRS}
)
add_library(bladerf2device SHARED
2018-09-22 04:39:09 -04:00
${bladerf2device_SOURCES}
)
2020-04-30 08:19:19 -04:00
if(LIBBLADERF_EXTERNAL)
add_dependencies(bladerf2device bladerf)
endif()
set_target_properties(bladerf2device
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
2018-12-01 21:06:04 -05:00
target_link_libraries(bladerf2device
${LIBBLADERF_LIBRARIES}
sdrbase
)
install(TARGETS bladerf2device DESTINATION ${INSTALL_LIB_DIR})