aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libgme/cmake4.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libgme/cmake4.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libgme/cmake4.patch')
-rw-r--r--vcpkg/ports/libgme/cmake4.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/libgme/cmake4.patch b/vcpkg/ports/libgme/cmake4.patch
new file mode 100644
index 0000000..c372103
--- /dev/null
+++ b/vcpkg/ports/libgme/cmake4.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 62349bd48d..23985cdd94 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -74,7 +74,7 @@ option(BUILD_FRAMEWORK "Build framework instead of dylib (on macOS)" OFF)
+ # Check for GCC/Clang "visibility" support.
+ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
+ OR
+- CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
++ CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT MSVC)
+
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -W -Wextra")
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")