Le Mon, 10 Nov 2008 12:36:04 +0100,
"Steven Van Ingelgem" <[EMAIL PROTECTED]> a écrit :

> 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/*)

Woud you try:

file(GLOB PLUGINS RELATIVE plugins plugins/*)

see documentation
file(GLOB variable [RELATIVE path] [globbing expressions]...)
 
> It gives me an error about "file GLOB requires a glob expression
> after the directory"
[...]
> Or is it something I am interpreting wrong?

more careful doc reading :=)

-- 
Erk
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to