CMake: bz2 target should differentiate archive and binary destinations
Install rule for bz2:
install(TARGETS bz2 DESTINATION ${CMAKE_INSTALL_LIBDIR})
will, on Windows, install both bz2.lib and bz2.dll install in lib/ directory.
Install rule for bz2:
install(TARGETS bz2 DESTINATION ${CMAKE_INSTALL_LIBDIR})
will, on Windows, install both bz2.lib and bz2.dll install in lib/ directory.