1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00

LimeSDR support: removed Debian specifics from the build as it will use LimeSuite as an external package

This commit is contained in:
f4exb 2017-04-16 09:58:35 +02:00
parent ab89253643
commit 7c1ff7c5ad
2 changed files with 0 additions and 35 deletions

View File

@ -8,20 +8,11 @@ set(limesdrdevice_HEADERS
devicelimesdrparam.h
)
if (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${LIMESUITESRC}/include
${LIMESUITESRC}/src
)
else (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${LIMESUITE_INCLUDE_DIR}
)
endif (BUILD_DEBIAN)
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_SHARED)
@ -30,16 +21,9 @@ add_library(limesdrdevice SHARED
${limesdrdevice_SOURCES}
)
if (BUILD_DEBIAN)
target_link_libraries(limesdrdevice
limesuite
sdrbase
)
else (BUILD_DEBIAN)
target_link_libraries(limesdrdevice
${LIMESUITE_LIBRARY}
sdrbase
)
endif (BUILD_DEBIAN)
install(TARGETS limesdrdevice DESTINATION lib)

View File

@ -20,22 +20,12 @@ set(limesdrinput_FORMS
limesdrinputgui.ui
)
if (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/devices
${LIBBLADERFLIBSRC}/include
${LIBBLADERFLIBSRC}/src
)
else (BUILD_DEBIAN)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/devices
${LIMESUITE_INCLUDE_DIR}
)
endif (BUILD_DEBIAN)
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
@ -51,21 +41,12 @@ add_library(inputlimesdr SHARED
${limesdrinput_FORMS_HEADERS}
)
if (BUILD_DEBIAN)
target_link_libraries(inputlimesdr
${QT_LIBRARIES}
limesdr
sdrbase
limesdrdevice
)
else (BUILD_DEBIAN)
target_link_libraries(inputlimesdr
${QT_LIBRARIES}
${LIMESUITE_LIBRARY}
sdrbase
limesdrdevice
)
endif (BUILD_DEBIAN)
qt5_use_modules(inputlimesdr Core Widgets)