diff options
-rw-r--r-- | ui/qt5/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | ui/qt5/horizon-ppc64-detect | 3 |
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 |