diff options
| author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
| commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
| tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /vcpkg-ports/mpg123/fix-m1-build.patch | |
| parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
| parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
| download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz | |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'vcpkg-ports/mpg123/fix-m1-build.patch')
| -rw-r--r-- | vcpkg-ports/mpg123/fix-m1-build.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg-ports/mpg123/fix-m1-build.patch b/vcpkg-ports/mpg123/fix-m1-build.patch new file mode 100644 index 00000000..f8367d3e --- /dev/null +++ b/vcpkg-ports/mpg123/fix-m1-build.patch @@ -0,0 +1,13 @@ +diff --git a/ports/cmake/src/CMakeLists.txt b/ports/cmake/src/CMakeLists.txt +index ee9a1ba..81d23f8 100644 +--- a/ports/cmake/src/CMakeLists.txt ++++ b/ports/cmake/src/CMakeLists.txt +@@ -185,7 +185,7 @@ if(NO_MESSAGES) + set(NO_ERETURN ON) + endif() + +-if(WIN32) ++if(WIN32 OR APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES arm) + set(HAVE_FPU 1) + else() + cmake_host_system_information(RESULT HAVE_FPU QUERY HAS_FPU) |
