[CMake] assert macro problem
Bill Hoffman
bill.hoffman at kitware.com
Thu Apr 19 09:14:48 EDT 2007
dfeustel at mindspring.com wrote:
> I do not see why libjpeg.a is not found by
> find_library? What am I missing?
>
>
You need to leave off the lib, so, find_library(MYLIB jpeg) should work
fine, and
also find it on other platforms that do not have the lib prefix like
windows.
The /usr/local/lib is also not needed, as CMake will look in all the
usual places
on your system.
-Bill
More information about the CMake
mailing list