mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-31 13:12:30 -04:00
A better way to address the SuperFox executables for the Raspberry Pi.
This commit is contained in:
parent
4063fe2285
commit
ec712007d9
@ -1704,7 +1704,14 @@ if (APPLE)
|
|||||||
)
|
)
|
||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
|
||||||
if (NOT (WIN32 OR UNIX OR APPLE))
|
execute_process(COMMAND
|
||||||
|
dpkg-architecture
|
||||||
|
-qDEB_HOST_ARCH
|
||||||
|
OUTPUT_VARIABLE
|
||||||
|
CMAKE_DEB_HOST_ARCH
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
|
||||||
|
if(${CMAKE_DEB_HOST_ARCH} MATCHES "arm64")
|
||||||
install (FILES
|
install (FILES
|
||||||
lib/superfox/arm/sfrx
|
lib/superfox/arm/sfrx
|
||||||
lib/superfox/arm/sftx
|
lib/superfox/arm/sftx
|
||||||
@ -1717,6 +1724,19 @@ if (NOT (WIN32 OR UNIX OR APPLE))
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(${CMAKE_DEB_HOST_ARCH} MATCHES "armhf")
|
||||||
|
install (FILES
|
||||||
|
lib/superfox/arm32/sfrx
|
||||||
|
lib/superfox/arm32/sftx
|
||||||
|
lib/superfox/arm32/foxchk
|
||||||
|
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
PERMISSIONS GROUP_READ GROUP_EXECUTE
|
||||||
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||||
|
PERMISSIONS WORLD_READ WORLD_EXECUTE
|
||||||
|
#COMPONENT runtime
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
#
|
#
|
||||||
# Mac installer files
|
# Mac installer files
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user