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"