1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00
sdrangel/devices/bladerf1/CMakeLists.txt

37 lines
696 B
CMake
Raw Normal View History

project(bladerf1device)
set(bladerf1device_SOURCES
devicebladerf1.cpp
devicebladerf1values.cpp
devicebladerf1shared.cpp
)
set(bladerf1device_HEADERS
devicebladerf1.h
devicebladerf1values.h
devicebladerf1param.h
devicebladerf1shared.h
)
include_directories(
${LIBBLADERF_INCLUDE_DIRS}
)
add_library(bladerf1device SHARED
${bladerf1device_SOURCES}
)
2020-04-30 08:19:19 -04:00
if(LIBBLADERF_EXTERNAL)
add_dependencies(bladerf1device bladerf)
endif()
set_target_properties(bladerf1device
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
2018-12-01 21:06:04 -05:00
target_link_libraries(bladerf1device
${LIBBLADERF_LIBRARIES}
sdrbase
)
install(TARGETS bladerf1device DESTINATION ${INSTALL_LIB_DIR})