[CMake] Force appending flags to external projects

Stefano Bonicatti smjert at gmail.com
Thu Jun 4 14:06:30 EDT 2015


Hello, i'm on Windows, i have a CMake script which uses ExternalProject_Add
to download and compile some libraries my project needs.
The majority of the libraries use CMake themselves.
Now what i'm interested in is having these libraries compile with the
Visual Studio /MP flag appended to their C++/C flags.
Is there any way to do this from my CMake script?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150604/01509a13/attachment.html>


More information about the CMake mailing list