Merge remote-tracking branch 'origin/blender-v4.2-release'

This commit is contained in:
Ray Molenkamp
2024-06-10 09:18:06 -06:00

View File

@@ -1001,25 +1001,13 @@ elseif(WIN32)
ALL
)
endif()
# 4.1 fftw libs need to be installed, in 4.2 fftw got turned into a static lib
# and the files below no longer exist.
if(EXISTS ${LIBDIR}/fftw3/lib/fftw3.dll)
set(FFTW_DLL ${LIBDIR}/fftw3/lib/fftw3.dll)
else()
set(FFTW_DLL ${LIBDIR}/fftw3/lib/libfftw3-3.dll)
endif()
windows_install_shared_manifest(
FILES ${FFTW_DLL}
ALL
)
if(EXISTS ${LIBDIR}/fftw3/lib/fftw3f-3.dll)
windows_install_shared_manifest(
FILES ${LIBDIR}/fftw3/lib/fftw3f-3.dll
ALL
)
elseif(EXISTS ${LIBDIR}/fftw3/lib/fftw3f.dll)
windows_install_shared_manifest(
FILES ${LIBDIR}/fftw3/lib/fftw3f.dll
FILES
${LIBDIR}/fftw3/lib/fftw3.dll
${LIBDIR}/fftw3/lib/fftw3f.dll
ALL
)
endif()