You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmake/detect-vcpkg-triplet.cmake
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,11 @@ elseif(APPLE)
39
39
endif()
40
40
endif()
41
41
elseif(LINUX)
42
-
# Assuming x64 here isn't necessarily correct, but it's the only platform we officially support.
43
-
set(DETECTED_VCPKG_TRIPLET"x64-linux")
42
+
if(CMAKE_SYSTEM_PROCESSORSTREQUAL"arm64")
43
+
set(DETECTED_VCPKG_TRIPLET"arm64-linux")
44
+
else()
45
+
set(DETECTED_VCPKG_TRIPLET"x64-linux")
46
+
endif()
44
47
else()
45
48
set(DETECTED_VCPKG_TRIPLET_ERROR"Cannot guess an appropriate value for VCPKG_TRIPLET because the operating system is unknown. Please set it manually.")
0 commit comments