1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 04:11:48 -05:00
sdrangel/devices/perseus/CMakeLists.txt
2020-05-02 17:57:00 +03:00

36 lines
646 B
CMake

project(perseusdevice)
set(perseusdevice_SOURCES
deviceperseus.cpp
deviceperseusscan.cpp
)
set(perseusdevice_HEADERS
deviceperseus.h
deviceperseusscan.h
)
include_directories(
${LIBUSB_INCLUDE_DIR}
${LIBPERSEUS_INCLUDE_DIR}
)
add_library(perseusdevice SHARED
${perseusdevice_SOURCES}
)
if(LIBPERSEUS_EXTERNAL)
add_dependencies(perseusdevice perseus)
endif()
set_target_properties(perseusdevice
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
target_link_libraries(perseusdevice
${LIBUSB_LIBRARIES}
${LIBPERSEUS_LIBRARIES}
sdrbase
)
install(TARGETS perseusdevice DESTINATION ${INSTALL_LIB_DIR})