[CMake] FIND_LIBRARY bug?
Eric Bolz
ebolz at mitre.org
Fri Oct 22 13:44:06 EDT 2004
I'm do the following in cmake 2.0.3
FIND_LIBRARY (MY_LIB NAMES Xpm PATHS /my/path)
MESSAGE( "MY_LIB is ${MY_LIB}")
MY_LIB gets set to /usr/local/bin. Why?
Sure, it exists there but I don't want that one. I did not tell cmake to
look there.
If cmake wants to look there then it should look there last.
I even took /usr/local/bin out of my LD_LIBRARY_PATH and get the same
result.
I see no way to get FIND_LIBRARY to look in the specified PATHS first.
Eric
More information about the CMake
mailing list