mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
FT8 support: build fixes
This commit is contained in:
parent
e8be1f6744
commit
5ce5a24946
@ -260,6 +260,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|||||||
endif()
|
endif()
|
||||||
configure_file("${CMAKE_SOURCE_DIR}/cmake/cpack/${CMAKE_PROJECT_NAME}.desktop.in"
|
configure_file("${CMAKE_SOURCE_DIR}/cmake/cpack/${CMAKE_PROJECT_NAME}.desktop.in"
|
||||||
"${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop" @ONLY)
|
"${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop" @ONLY)
|
||||||
|
set(FFTW3F_FOUND ON CACHE INTERNAL "")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
if("${CMAKE_OSX_DEPLOYMENT_TARGET}" STREQUAL "")
|
if("${CMAKE_OSX_DEPLOYMENT_TARGET}" STREQUAL "")
|
||||||
message(STATUS "Build for macOS target: local version")
|
message(STATUS "Build for macOS target: local version")
|
||||||
@ -777,15 +778,17 @@ add_subdirectory(logging)
|
|||||||
add_subdirectory(qrtplib)
|
add_subdirectory(qrtplib)
|
||||||
add_subdirectory(swagger)
|
add_subdirectory(swagger)
|
||||||
add_subdirectory(devices)
|
add_subdirectory(devices)
|
||||||
add_subdirectory(sdrbench)
|
|
||||||
|
|
||||||
add_subdirectory(modemm17)
|
add_subdirectory(modemm17)
|
||||||
|
|
||||||
if (FFTW3F_FOUND)
|
if (FFTW3F_FOUND)
|
||||||
add_subdirectory(ft8)
|
add_subdirectory(ft8)
|
||||||
add_definitions(-DHAS_FT8)
|
add_definitions(-DHAS_FT8)
|
||||||
|
set(FT8_SUPPORT ON CACHE INTERNAL "")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_subdirectory(sdrbench)
|
||||||
|
|
||||||
if (BUILD_GUI)
|
if (BUILD_GUI)
|
||||||
add_subdirectory(sdrgui)
|
add_subdirectory(sdrgui)
|
||||||
add_subdirectory(plugins plugins)
|
add_subdirectory(plugins plugins)
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
project (sdrbench)
|
project (sdrbench)
|
||||||
|
|
||||||
|
if (FT8_SUPPORT)
|
||||||
|
set(sdrbench_FT8_LIB ft8)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(sdrbench_SOURCES
|
set(sdrbench_SOURCES
|
||||||
mainbench.cpp
|
mainbench.cpp
|
||||||
parserbench.cpp
|
parserbench.cpp
|
||||||
@ -30,7 +34,7 @@ target_link_libraries(sdrbench
|
|||||||
Qt::Gui
|
Qt::Gui
|
||||||
sdrbase
|
sdrbase
|
||||||
logging
|
logging
|
||||||
ft8
|
${sdrbench_FT8_LIB}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS sdrbench DESTINATION ${INSTALL_LIB_DIR})
|
install(TARGETS sdrbench DESTINATION ${INSTALL_LIB_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user