[cmake-developers] [patch] FindBZip2: Add additional debug library name

Roger Leigh rleigh at codelibre.net
Tue Jun 7 17:54:42 EDT 2016


I noticed that FindBZip2.cmake was searching for the bzip2d debug 
library but not bz2d (it uses bz2 and bzip2 for the release library 
names).  While bzip2[d] is the common form on Windows, which is what the 
upstream nmake build creates, there are at least two CMake builds for 
bzip2 which use the bz2 form to match the Unix naming:

https://gitlab.kitware.com/ben.boeckel/common-superbuild/blob/master/projects/patches/bzip2-add-cmake.patch
https://github.com/ome/ome-cmake-superbuild/blob/develop/packages/bzip2/patches/cmake.diff

I've merged this bzip2-debug-names branch into next for testing.


Regards,
Roger


More information about the cmake-developers mailing list