mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -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()
|
||||
configure_file("${CMAKE_SOURCE_DIR}/cmake/cpack/${CMAKE_PROJECT_NAME}.desktop.in"
|
||||
"${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop" @ONLY)
|
||||
set(FFTW3F_FOUND ON CACHE INTERNAL "")
|
||||
elseif(APPLE)
|
||||
if("${CMAKE_OSX_DEPLOYMENT_TARGET}" STREQUAL "")
|
||||
message(STATUS "Build for macOS target: local version")
|
||||
@ -777,15 +778,17 @@ add_subdirectory(logging)
|
||||
add_subdirectory(qrtplib)
|
||||
add_subdirectory(swagger)
|
||||
add_subdirectory(devices)
|
||||
add_subdirectory(sdrbench)
|
||||
|
||||
add_subdirectory(modemm17)
|
||||
|
||||
if (FFTW3F_FOUND)
|
||||
add_subdirectory(ft8)
|
||||
add_definitions(-DHAS_FT8)
|
||||
set(FT8_SUPPORT ON CACHE INTERNAL "")
|
||||
endif()
|
||||
|
||||
add_subdirectory(sdrbench)
|
||||
|
||||
if (BUILD_GUI)
|
||||
add_subdirectory(sdrgui)
|
||||
add_subdirectory(plugins plugins)
|
||||
|
@ -1,5 +1,9 @@
|
||||
project (sdrbench)
|
||||
|
||||
if (FT8_SUPPORT)
|
||||
set(sdrbench_FT8_LIB ft8)
|
||||
endif()
|
||||
|
||||
set(sdrbench_SOURCES
|
||||
mainbench.cpp
|
||||
parserbench.cpp
|
||||
@ -30,7 +34,7 @@ target_link_libraries(sdrbench
|
||||
Qt::Gui
|
||||
sdrbase
|
||||
logging
|
||||
ft8
|
||||
${sdrbench_FT8_LIB}
|
||||
)
|
||||
|
||||
install(TARGETS sdrbench DESTINATION ${INSTALL_LIB_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user