aboutsummaryrefslogtreecommitdiff
path: root/scripts/buildsystems
diff options
context:
space:
mode:
authorxyb <xyb@xyb.name>2020-09-05 10:45:48 -0700
committerGitHub <noreply@github.com>2020-09-05 10:45:48 -0700
commitfdac1fc5aa36e8edeb9f358f0fad041de2626215 (patch)
tree56cdf5ea8aa709b27b2ea8c989af3c0b3f000117 /scripts/buildsystems
parentbd8af0789804dad0f76dced3f837845f086350c5 (diff)
downloadvcpkg-fdac1fc5aa36e8edeb9f358f0fad041de2626215.tar.gz
vcpkg-fdac1fc5aa36e8edeb9f358f0fad041de2626215.zip
Add community triple arm64-linux and arm-linux. (#11880)
Verify the following command on both 32 bits and 64 bits OS on Raspberry pi 3. ./bootstrap-vcpkg.sh ./vcpkg install boost
Diffstat (limited to 'scripts/buildsystems')
-rw-r--r--scripts/buildsystems/vcpkg.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index c1df616da..f2e89c5db 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -172,6 +172,10 @@ else()
set(_VCPKG_TARGET_TRIPLET_ARCH x64)
elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "s390x")
set(_VCPKG_TARGET_TRIPLET_ARCH s390x)
+ elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "armv7l")
+ set(_VCPKG_TARGET_TRIPLET_ARCH arm)
+ elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
+ set(_VCPKG_TARGET_TRIPLET_ARCH arm64)
else()
if( _CMAKE_IN_TRY_COMPILE )
message(STATUS "Unable to determine target architecture, continuing without vcpkg.")