cmake: windows: only install fftw's dlls when available
These are no longer used in 4.2 and need not to be installed.
This commit is contained in:
parent
83edd748a2
commit
28f7a467fa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user