Displaying 2 results from an estimated 2 matches for "zlib_found".
2014 Sep 17
2
[LLVMdev] proposal to avoid zlib dependency.
...linking fails, probably some definition mismatches...
It configured, compiled and linked okay for me. Could you look into it?
>
> But it can definitely be simplified, as due to the "REQUIRED" flag CMake will already fail if zlib isn't found, so no need for the
>
> if (ZLIB_FOUND)
> ...
> else()
> message(FATAL_ERROR "zlib was requested but it could not be found")
> endif()
>
Thanks. I'm aware that's what REQUIRED would do but I thought I'd try
to be "defensive" just in case someone later on thinks removing
"R...
2014 Sep 17
2
[LLVMdev] proposal to avoid zlib dependency.
On 17 September 2014 13:27, Mueller-Roemer, Johannes Sebastian
<Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de> wrote:
> Yes, this is incredibly annoying, so please avoid that. However I noticed that the current solution using CMake is broken, as I cannot enter my own ZLIB_ROOT, since no proper find_package is used.
I just had a go at hacking this so that we use