sdrangel/devices/perseus/CMakeLists.txt

36 wiersze
646 B
CMake
Czysty Zwykły widok Historia

2018-02-06 17:49:22 +00:00
project(perseusdevice)
set(perseusdevice_SOURCES
deviceperseus.cpp
deviceperseusscan.cpp
)
set(perseusdevice_HEADERS
deviceperseus.h
deviceperseusscan.h
)
include_directories(
${LIBUSB_INCLUDE_DIR}
2018-02-06 17:49:22 +00:00
${LIBPERSEUS_INCLUDE_DIR}
)
add_library(perseusdevice SHARED
${perseusdevice_SOURCES}
)
2020-04-30 12:19:19 +00:00
if(LIBPERSEUS_EXTERNAL)
add_dependencies(perseusdevice perseus)
endif()
set_target_properties(perseusdevice
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
2018-12-02 02:06:04 +00:00
2018-02-06 17:49:22 +00:00
target_link_libraries(perseusdevice
${LIBUSB_LIBRARIES}
2018-02-06 17:49:22 +00:00
${LIBPERSEUS_LIBRARIES}
sdrbase
)
install(TARGETS perseusdevice DESTINATION ${INSTALL_LIB_DIR})