[Zlib-devel] zlib version 1.2.3.8 available for testing
Philip Lowman
philip at yhbt.com
Mon Feb 15 02:06:20 EST 2010
On Mon, Feb 15, 2010 at 1:51 AM, Mark Adler <madler at alumni.caltech.edu> wrote:
> On Feb 14, 2010, at 10:41 PM, Philip Lowman wrote:
>> The following fix adds two #cmakedefine statements to zconf.in.h. The
>> configure shell script has been modified to simply remove these
>> statements when writing out its zconf.h.
>
> Will this all work if there is no zconf.h, and if the name of the template is zconf.h.in? (Two recently requested changes.)
I wasn't 100% on that so I just double checked, and yes. You can
safely remove zconf.h, CMake will of course create it when you run it
the first time and modify it if necessary.
You will need to change this line though owing to the filename change.
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/zconf.in.h
${CMAKE_CURRENT_SOURCE_DIR}/zconf.h @ONLY)
to this:
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.in
${CMAKE_CURRENT_SOURCE_DIR}/zconf.h @ONLY)
--
Philip Lowman
More information about the Zlib-devel
mailing list