mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 09:19:00 +08:00
libmad: use the default floating point module
This commit is contained in:
parent
2e2c7e51b3
commit
059e1e487f
@ -7,6 +7,11 @@ vcpkg_download_distfile(ARCHIVE
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PATCHES "${CMAKE_CURRENT_LIST_DIR}/use_fpm_default.patch"
|
||||
)
|
||||
|
||||
#The archive only contains a Visual Studio 6.0 era DSP project file, so use a custom CMakeLists.txt
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
|
||||
|
16
ports/libmad/use_fpm_default.patch
Normal file
16
ports/libmad/use_fpm_default.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- mad.h 2004-01-23 10:36:03.000000000 +0100
|
||||
+++ mad.h 2017-08-12 16:03:38.060392600 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
extern "C" {
|
||||
# endif
|
||||
|
||||
-# define FPM_INTEL
|
||||
+# define FPM_DEFAULT
|
||||
--- msvc++/mad.h 2017-08-12 16:04:30.678146600 +0200
|
||||
+++ msvc++/mad.h 2017-08-12 16:04:00.779378000 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
extern "C" {
|
||||
# endif
|
||||
|
||||
-# define FPM_INTEL
|
||||
+# define FPM_DEFAULT
|
Loading…
Reference in New Issue
Block a user