summaryrefslogtreecommitdiff
path: root/ui/qt5/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/CMakeLists.txt')
-rw-r--r--ui/qt5/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/qt5/CMakeLists.txt b/ui/qt5/CMakeLists.txt
index 6279cc1..d33e74a 100644
--- a/ui/qt5/CMakeLists.txt
+++ b/ui/qt5/CMakeLists.txt
@@ -17,6 +17,11 @@ set(UI_SOURCES
hostnamepage.cc
horizon.qrc)
+
+IF(UNSUPPORTED_NONFREE_FIRMWARE)
+ LIST(APPEND UI_SOURCES firmwarepage.cc)
+ENDIF(UNSUPPORTED_NONFREE_FIRMWARE)
+
add_executable(horizon-qt5 ${UI_SOURCES})
target_link_libraries(horizon-qt5 Qt5::Network Qt5::Widgets)