Support installation via CMake

This commit is contained in:
Aang23
2021-02-11 22:49:33 +01:00
parent b86cf9681c
commit 835ec716a0
17 changed files with 112 additions and 15 deletions
CMakeLists.txt
airspy_source
airspyhf_source
audio_sink
cmake_uninstall.cmake.in
core
file_source
hackrf_source
plutosdr_source
radio
recorder
rtl_tcp_source
rx888_source
sdrplay_source
soapy_source
spyserver_source

@@ -28,4 +28,7 @@ else (MSVC)
target_include_directories(hackrf_source PUBLIC ${LIBHACKRF_INCLUDE_DIRS})
target_link_directories(hackrf_source PUBLIC ${LIBHACKRF_LIBRARY_DIRS})
target_link_libraries(hackrf_source PUBLIC ${LIBHACKRF_LIBRARIES})
endif (MSVC)
endif (MSVC)
# Install directives
install(TARGETS hackrf_source DESTINATION lib/sdrpp/plugins)