diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-08 20:09:27 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-08 20:09:27 +1100 |
commit | 6c562470f3a7cd24ed6501f54422564ed42051ea (patch) | |
tree | 2e422b3316b6e77cbc35085a9ce63b4c6d0912d3 /triplets/x64-linux-mixed.cmake | |
parent | 89fe1bf15bc458df6c63f1aaeac42a4883efbfd5 (diff) |
Merge launcher branch
Diffstat (limited to 'triplets/x64-linux-mixed.cmake')
-rw-r--r-- | triplets/x64-linux-mixed.cmake | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/triplets/x64-linux-mixed.cmake b/triplets/x64-linux-mixed.cmake new file mode 100644 index 0000000..be80364 --- /dev/null +++ b/triplets/x64-linux-mixed.cmake @@ -0,0 +1,25 @@ +set(VCPKG_TARGET_ARCHITECTURE x64) +set(VCPKG_CRT_LINKAGE dynamic) +set(VCPKG_LIBRARY_LINKAGE static) + +set(VCPKG_CMAKE_SYSTEM_NAME Linux) + +if(PORT MATCHES "discord-") + set(VCPKG_LIBRARY_LINKAGE dynamic) +endif() + +if(PORT MATCHES "opus") + string(CONCAT VCPKG_CMAKE_CONFIGURE_OPTIONS + "-DOPUS_INSTALL_PKG_CONFIG_MODULE=OFF" + "-DOPUS_INSTALL_CMAKE_CONFIG_MODULE=OFF" + "-DOPUS_X86_MAY_HAVE_SSE=ON" + "-DOPUS_X86_MAY_HAVE_AVX=ON" + "-DOPUS_X86_MAY_HAVE_SSE4_1=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()
\ No newline at end of file |