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

Fixed compilation in server mode for Satellite Tracker plugin

This commit is contained in:
f4exb 2021-09-02 21:13:41 +02:00
parent d481a8078a
commit fcf22da4a6
2 changed files with 12 additions and 4 deletions

View File

@ -321,6 +321,8 @@ find_package(Qt5
WebSockets
Multimedia
MultimediaWidgets
Positioning
Charts
SerialPort)
# for the server we don't need OpenGL/Qt Quick components
@ -331,9 +333,7 @@ if (BUILD_GUI)
OpenGL
Quick
QuickWidgets
Positioning
Location
Charts
TextToSpeech)
endif()

View File

@ -19,7 +19,15 @@ add_subdirectory(demodanalyzer)
add_subdirectory(pertester)
add_subdirectory(rigctlserver)
add_subdirectory(simpleptt)
if (SGP4_FOUND)
add_subdirectory(satellitetracker)
if (NOT SERVER_MODE)
if (SGP4_FOUND AND Qt5Positioning_FOUND AND Qt5Charts_FOUND AND Qt5TextToSpeech_FOUND)
add_subdirectory(satellitetracker)
endif()
else()
if (SGP4_FOUND AND Qt5Positioning_FOUND AND Qt5Charts_FOUND)
add_subdirectory(satellitetracker)
endif()
endif()
add_subdirectory(startracker)