diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-01-07 19:53:04 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-01-07 19:53:04 +1100 |
commit | d232fb77eba0dde28f1c66b343168ee5eaa5c09c (patch) | |
tree | dbd6b1e78a2cbe91b3466685f0810271ba03197b /triplets/x64-linux-mixed.cmake | |
parent | 64df8908642c8d51ad86cf3ec425253502d60bea (diff) |
attempt to fix systemd clang comp
Diffstat (limited to 'triplets/x64-linux-mixed.cmake')
-rw-r--r-- | triplets/x64-linux-mixed.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/triplets/x64-linux-mixed.cmake b/triplets/x64-linux-mixed.cmake index 5e93dff..06e29a7 100644 --- a/triplets/x64-linux-mixed.cmake +++ b/triplets/x64-linux-mixed.cmake @@ -9,6 +9,11 @@ if(PORT MATCHES "discord-") set(VCPKG_LIBRARY_LINKAGE dynamic) endif() +if(PORT MATCHES "libsystemd") + set(VCPKG_C_FLAGS "-std=c11") + set(VCPKG_CXX_FLAGS "-std=c11") +endif() + if(PORT MATCHES "opus") string(CONCAT VCPKG_CMAKE_CONFIGURE_OPTIONS "-DOPUS_INSTALL_PKG_CONFIG_MODULE=OFF" |