mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 03:02:54 +08:00
[fftw3] fix bigobj compiler option (#25972)
* fix bigobj in fftw3 * v db
This commit is contained in:
parent
a6c5c0140d
commit
1aa8ac7a05
13
ports/fftw3/bigobj.patch
Normal file
13
ports/fftw3/bigobj.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 64db20b6a..ce438a379 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -315,7 +315,7 @@ endif ()
|
||||
add_library (${fftw3_lib} ${SOURCEFILES})
|
||||
target_include_directories (${fftw3_lib} INTERFACE $<INSTALL_INTERFACE:include>)
|
||||
if (MSVC AND NOT (CMAKE_C_COMPILER_ID STREQUAL "Intel"))
|
||||
- target_compile_definitions (${fftw3_lib} PRIVATE /bigobj)
|
||||
+ target_compile_options (${fftw3_lib} PRIVATE "/bigobj")
|
||||
endif ()
|
||||
if (HAVE_SSE)
|
||||
target_compile_options (${fftw3_lib} PRIVATE ${SSE_FLAG})
|
@ -12,6 +12,7 @@ vcpkg_extract_source_archive_ex(
|
||||
patch_targets.patch
|
||||
fftw3_arch_fix.patch
|
||||
aligned_malloc.patch
|
||||
bigobj.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "fftw3",
|
||||
"version": "3.3.10",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data (as well as of even/odd data, i.e. the discrete cosine/sine transforms or DCT/DST).",
|
||||
"homepage": "https://www.fftw.org/",
|
||||
"dependencies": [
|
||||
|
@ -2254,7 +2254,7 @@
|
||||
},
|
||||
"fftw3": {
|
||||
"baseline": "3.3.10",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"fftwpp": {
|
||||
"baseline": "2019-12-19",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1ab09732ff55a9c0ff0fadd66623f38773338649",
|
||||
"version": "3.3.10",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "2bd307eb2dafcd4938d16fc484fbbb731228f4c3",
|
||||
"version": "3.3.10",
|
||||
|
Loading…
Reference in New Issue
Block a user