[CMake] ExternalProject_Add and globbing

2013-03-04 Thread Luc J. Bourhis
Hi, ExternalProject_Add is a fantastic tool but I have got one issue with it. Let's say I do the following (tested on Linux) The install step fails as if the shell did not see the glob. The exact error reads Thanks for any help - -- Luc J. Bourhis -- View this message in context:

Re: [CMake] ExternalProject_Add and globbing

2013-03-04 Thread Petr Kmoch
Hi Luc, would it help of you changed the command to run 'sh' and have it execute 'cp lib/*.so /usr/local/lib'? Just a wild idea. Petr On Mon, Mar 4, 2013 at 12:50 PM, Luc J. Bourhis luc_j_bour...@mac.com wrote: Hi, ExternalProject_Add is a fantastic tool but I have got one issue with it.

Re: [CMake] ExternalProject_Add and globbing

2013-03-04 Thread Luc J. Bourhis
Petr Kmoch wrote would it help of you changed the command to run 'sh' and have it execute 'cp lib/*.so /usr/local/lib'? Just a wild idea. A /good/ idea! Thanks. To be complete, for future readers, my actual command is actually like where DESTINATION_LIB is assigned a value with set(...). Then