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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-01-07 20:49:34 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2025-01-07 20:49:34 +1100
commit6290a813d625284b81a6e017cb1067d9ff213221 (patch)
treea517d3f114cc6df8a273bd4b8eb35e6f5f06e0c0
parent4db9712c4c6481a9564c5bcb5fe2b9f4cda235d6 (diff)
okay. nevermind!
-rw-r--r--source/vcpkg.json3
-rw-r--r--triplets/x64-linux-mixed.cmake5
2 files changed, 2 insertions, 6 deletions
diff --git a/source/vcpkg.json b/source/vcpkg.json
index f603aab..6eab46c 100644
--- a/source/vcpkg.json
+++ b/source/vcpkg.json
@@ -2,7 +2,8 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"glew",
- "sdl2",
+ { "name": "sdl2", "default-features": false, "features": ["wayland", "x11", "alsa"], "platform": "linux" },
+ { "name": "sdl2", "platform": "!linux" },
"libvorbis",
"zlib",
"freetype",
diff --git a/triplets/x64-linux-mixed.cmake b/triplets/x64-linux-mixed.cmake
index 64a6feb..9a95aff 100644
--- a/triplets/x64-linux-mixed.cmake
+++ b/triplets/x64-linux-mixed.cmake
@@ -9,11 +9,6 @@ if(PORT MATCHES "discord-")
set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()
-if(PORT MATCHES "libsystemd")
- set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} -std=c11")
- set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS}")
-endif()
-
if(PORT MATCHES "opus")
string(CONCAT VCPKG_CMAKE_CONFIGURE_OPTIONS
"-DOPUS_INSTALL_PKG_CONFIG_MODULE=OFF"