Skip to content

Commit

Permalink
[android] Add --host flags to triplets
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 15, 2022
1 parent a2261f6 commit 0b358ec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions triplets/community/arm-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ set(VCPKG_TARGET_ARCHITECTURE arm)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=armv7a-linux-androideabi")
1 change: 1 addition & 0 deletions triplets/community/arm-neon-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ set(VCPKG_TARGET_ARCHITECTURE arm)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=armv7a-linux-androideabi")
1 change: 1 addition & 0 deletions triplets/community/arm64-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ set(VCPKG_TARGET_ARCHITECTURE arm64)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=aarch64-linux-android")
1 change: 1 addition & 0 deletions triplets/community/x64-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=x86_64-linux-android")
1 change: 1 addition & 0 deletions triplets/community/x86-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ set(VCPKG_TARGET_ARCHITECTURE x86)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=i686-linux-android")

0 comments on commit 0b358ec

Please sign in to comment.