How to tell cmake to look in /usr/local/zlib/lib instead of /usr/lib? -


i trying compile apitrace, however, when run cmake, got following message

-- not find zlib: found unsuitable version "1.2.5", required    @ least "1.2.6" (found /usr/lib/libz.dylib) 

i have installed recent version of zlib in /usr/local/zlib, how can tell cmake in path? tried cmake -dcmake_prefix_path=/usr/local/zlib/ didn't work.

i erased files within build directory , run again cmake variable -dcmake_prefix_path set zlib , found it.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -