Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/triplets/arm64-linux-mixed.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'triplets/arm64-linux-mixed.cmake')
-rw-r--r--triplets/arm64-linux-mixed.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/triplets/arm64-linux-mixed.cmake b/triplets/arm64-linux-mixed.cmake
new file mode 100644
index 0000000..1885af2
--- /dev/null
+++ b/triplets/arm64-linux-mixed.cmake
@@ -0,0 +1,20 @@
+set(VCPKG_TARGET_ARCHITECTURE arm64)
+set(VCPKG_CRT_LINKAGE dynamic)
+set(VCPKG_LIBRARY_LINKAGE static)
+
+set(VCPKG_CMAKE_SYSTEM_NAME Linux)
+
+if(PORT MATCHES "opus")
+ string(CONCAT VCPKG_CMAKE_CONFIGURE_OPTIONS
+ "-DOPUS_INSTALL_PKG_CONFIG_MODULE=OFF"
+ "-DOPUS_INSTALL_CMAKE_CONFIG_MODULE=OFF"
+ "-DOPUS_ARM_MAY_HAVE_NEON=ON"
+ "-DOPUS_ARM_MAY_HAVE_NEON_INTR=ON"
+ "-DOPUS_ENABLE_FLOAT_API=ON"
+ "-DOPUS_FLOAT_APPROX=ON"
+ "-DOPUS_STACK_PROTECTOR=OFF"
+ "-DOPUS_NONTHREADSAFE_PSEUDOSTACK=OFF"
+ "-DOPUS_USE_ALLOCA=ON"
+ "-DBUILD_TESTING=OFF"
+ )
+endif()