>    [ 74%] Built target test_sethandler
>    make[2]: *** No rule to make target `/usr/local/lib/libpng.dylib', needed
> by `tests/na/common/test_common'.  Stop.
>    make[1]: *** [tests/na/common/CMakeFiles/test_common.dir/all] Error 2
> The obvious reason is that /usr/local/lib/libpng.dylib doesn't exist:
>   arc:mbuild douglasl$ ls /usr/local/lib/ | grep png
>   arc:mbuild douglasl$
> But my cmake cache shows:
>   LIBPNG_INCLUDE_DIR:PATH=/Library/Frameworks/Mono.framework/Headers
>   LIBPNG_LIBRARY:FILEPATH=/usr/local/lib/libpng.dylib
>   //ADVANCED property for variable: LIBPNG_INCLUDE_DIR
>   LIBPNG_INCLUDE_DIR-ADVANCED:INTERNAL=1
>   //ADVANCED property for variable: LIBPNG_LIBRARY
>   LIBPNG_LIBRARY-ADVANCED:INTERNAL=1
> Can someone shed some light on how cmake is finding that module?
> Sounds like the machine config is broken, but I'm not sure exactly how to
> fix it.

Does png.h exist in this folder

/Library/Frameworks/Mono.framework/Headers

John
_______________________________________________
Powered by www.kitware.com

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

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

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

Reply via email to