Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/vcpkg-ports/mpg123/fix-m1-build.patch

14 lines
417 B
Diff
Raw Normal View History

2024-09-24 12:54:57 +00:00
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)