I was trying to create a new NSIS package for something I have packaged before. It's probably been almost a year and I'm sure a number of the mingw packages have been updated but I'm not sure what's causing this:

Run CPack packaging tool...
CPack: Create package using NSIS
CPack: Install projects
CPack: - Run preinstall target for: FreeDV
CPack: - Install project: FreeDV
warning: target 'WS2_32.dll' is not absolute...
warning: target 'WS2_32.dll' does not exist...
CMake Error at /usr/share/cmake/Modules/GetPrerequisites.cmake:800 (message):
  /usr/bin/objdump failed: 1

  /usr/bin/objdump: 'WS2_32.dll': No such file

Call Stack (most recent call first):
  /usr/share/cmake/Modules/GetPrerequisites.cmake:925 (get_prerequisites)
  /usr/share/cmake/Modules/GetPrerequisites.cmake:925 (get_prerequisites)
  /home/build/mingw32/freedv-1.1.1/cmake/GetDependencies.cmake:16 (get_prerequisites)
  /home/build/mingw32/freedv-1.1.1/cmake_install.cmake:31 (include)
  
Assuming WS2_32.dll is a windows provided library the error wouldn't typically be fatal but this time it is.

Any ideas?

Thanks,
Richard