[CMake] FIND_PATH

Leon Moctezuma densedev at gmail.com
Fri Nov 2 15:28:52 EDT 2007


Hi, I created a FindGECKO  modul, which tries
to look for the NPAPI headers for creating
FireFox plug-ins, the problem is that in some
distributions the paths have directories with
it's version number... for example:

/usr/include/firefox-2.0.0.5
/usr/include/nspr4

here is part of the actual script:

FIND_PATH(GECKO_ROOT_DIR npapi.h npupp.h /usr/include/firefox
/usr/local/include/firefox)
FIND_PATH(GECKO_NSPR_DIR prthread.h ${GECKO_ROOT_DIR}/nspr)

Is there a way to look for in all FireFox* or nspr* directories?

Best  regards,

Leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071102/78dec4f2/attachment.html


More information about the CMake mailing list