On 01/14/2014 03:18 PM, "Schröter, Philipp" wrote:
When CMake is looking for zlib it always returns "ZLIB not found." although 
ZLIB_ROOT, in which it looks for zlib (/usr/local/zlib) and which is passed to CMake with 
a -D, is correct and zlib exists in there (including subfolders).
Does anybody have hints to solve this problem?

Have you tried to look in CMakeError.log file ?
In my case I use just

find_package(ZLIB REQUIRED)

AFAIK libz is shipped by default in MacOS and it should be found in /usr/lib

regards
Bogdan
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to