mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-22 12:08:43 -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)
|
||||
|
||||
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
|
||||
lib/superfox/arm/sfrx
|
||||
lib/superfox/arm/sftx
|
||||
@ -1717,6 +1724,19 @@ if (NOT (WIN32 OR UNIX OR APPLE))
|
||||
)
|
||||
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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user