[CMake] file-glob question

Steven Van Ingelgem steven at vaningelgem.be
Mon Nov 10 06:36:04 EST 2008


Hi all,


I'm trying to do the following:

file(GLOB PLUGINS plugins/*)

This returns all the absolute paths to the plugins. Which is fine.

But, when I try:

file(GLOB PLUGINS RELATIVE plugins/*)

It gives me an error about "file GLOB requires a glob expression after the
directory"


Is this a bug in CMake? Or is it something I am interpreting wrong?


Thanks,
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081110/8cc8f1ea/attachment.htm>


More information about the CMake mailing list