[CMake] ExternalProject_Add and globbing

Luc J. Bourhis luc_j_bourhis at mac.com
Mon Mar 4 08:34:34 EST 2013


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

replaces ${DESTINATION_LIB} correctly.

So it works great indeed! Thanks again, Petr.



-----
--
Luc J. Bourhis

--
View this message in context: http://cmake.3232098.n2.nabble.com/ExternalProject-Add-and-globbing-tp7583473p7583476.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list