[CMake] Skipping PATH when using find_library

Mika.Rajala at patria.fi Mika.Rajala at patria.fi
Wed Mar 3 06:22:10 EST 2010


Hi

I have read the documentation on find_library command, and i think what i
need is possible, but i just can't figure it out.

I'd like to run the find_library command, so that it doesn't use the
windows environment variable PATH for folders to look from.

Is this possible with cmake?

I tried a few of the additional commands for find_library, but it didn't
seem to work.

These "few" include "NO_SYSTEM_ENVIRONMENT_PATH" and "NO_DEFAULT_PATH"

And additionally, I have a list of folders where to look from, currently i
provide it as "HINTS" but i did try giving it as "PATHS"



More information about the CMake mailing list