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
Post a Comment