summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt5/CMakeLists.txt2
-rwxr-xr-xui/qt5/horizon-ppc64-detect3
2 files changed, 5 insertions, 0 deletions
diff --git a/ui/qt5/CMakeLists.txt b/ui/qt5/CMakeLists.txt
index 6e3cf4e..908f8d6 100644
--- a/ui/qt5/CMakeLists.txt
+++ b/ui/qt5/CMakeLists.txt
@@ -81,4 +81,6 @@ IF(INSTALL)
IF("cxx_std_17" IN_LIST CMAKE_CXX_COMPILE_FEATURES)
set_property(TARGET horizon-run-qt5 PROPERTY CXX_STANDARD 17)
ENDIF()
+ install(TARGETS horizon-run-qt5 DESTINATION bin)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/horizon-ppc64-detect DESTINATION bin)
ENDIF(INSTALL)
diff --git a/ui/qt5/horizon-ppc64-detect b/ui/qt5/horizon-ppc64-detect
new file mode 100755
index 0000000..96d3e83
--- /dev/null
+++ b/ui/qt5/horizon-ppc64-detect
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+grep platform /proc/cpuinfo | cut -d':' -f2 | cut -d' ' -f2 > /tmp/horizon-platform