CMake cannot find MathGL's dependency PNG -


i'm trying generate visual studio 2013 projects files mathgl 2.3.3 cmake.

for reason cmake not understand png_png_include_dir statement.

cmake "-dzlib_include_dir=c:\users\chenning\projects\zlib-1.2.8\" "-dzlib_library_debug=c:\users\chenning\projects\zlib-1.2.8\zlib.lib" "-dzlib_library_release=c:\users\chenning\projects\zlib-1.2.8\zlib.lib" "-dpng_png_include_dir=c:\users\chenning\projects\lpng1620\" "-dpng_library_debug=c:\users\chenning\projects\lpng1620\projects\vstudio\x64\debug\libpng16.lib" "-dpng_library_release=c:\users\chenning\projects\lpng1620\projects\vstudio\x64\release\libpng16.lib" . 

the path exists , variable called png_png_include_dir 2 png.

cmake telling me:

-- found zlib: c:\users\chenning\projects\zlib-1.2.8\zlib.lib -- not find png (missing:  png_png_include_dir) cmake error @ cmakelists.txt:341 (message):   couldn't find png library.   -- configuring incomplete, errors occurred! see "c:/users/chenning/projects/mathgl-2.3.3/cmakefiles/cmakeoutput.log". see "c:/users/chenning/projects/mathgl-2.3.3/cmakefiles/cmakeerror.log". 

when set paths cmake-gui works fine.

any ideas what's wrong?


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -