Properly fix: T71040 / T58983 Ocean Modifier crashes at high resolutions

For a more detailed description of the issue see the commit
message for rB497cd3d7dd6e497be484eb78a8ddb23f53b20343

This change moves fftw to a shared library and reverts the bandaid
we did for 2.83.
This commit is contained in:
Ray Molenkamp
2020-05-19 12:28:19 -06:00
parent a6c0874355
commit 08b4faef01
3 changed files with 17 additions and 5 deletions

View File

@@ -687,6 +687,13 @@ elseif(WIN32)
)
endif()
if(WITH_FFTW3)
install(
FILES ${LIBDIR}/fftw3/lib/libfftw3-3.dll
DESTINATION "."
)
endif()
if(WITH_WINDOWS_PDB)
if(WITH_WINDOWS_STRIPPED_PDB)
# Icky hack for older cmake from https://stackoverflow.com/a/21198501