Hi Jc,<div><br></div><div>I added zlib as an external project and it builds fine, but there are two issues. The first is that QuaZip is still linked against the zlib in the system. </div><div><br></div><div>The second is that I get the following error at the CTK configure step (after zlib and QuaZip has been built).</div>
<div><br></div><div>--------------------------------------------------------------------------------------------</div><div><div>CMake Error at CMakeLists.txt:891 (find_package):</div><div> By not providing "Findzlib.cmake" in CMAKE_MODULE_PATH this project has</div>
<div> asked CMake to find a package configuration file provided by "zlib", but</div>
<div> CMake did not find one.</div><div><br></div><div> Could not find a package configuration file provided by "zlib" with any of</div><div> the following names:</div><div><br></div><div> zlibConfig.cmake</div>
<div> zlib-config.cmake</div><div><br></div><div> Add the installation prefix of "zlib" to CMAKE_PREFIX_PATH or set</div><div> "zlib_DIR" to a directory containing one of the above files. If "zlib"</div>
<div> provides a separate development package or SDK, be sure it has been</div><div> installed.</div><div>--------------------------------------------------------------------------------------------</div><div><br></div>
<div>As I see, there is no zlibConfig.cmake in the cmake-ified project, but I guess you can build Slicer in spite of this.</div><div><br></div><div>What is the trick? :)</div>
<div><br></div><div>Cheers,</div><div>Miklos</div><div><br></div></div>