[CMake] Re: Problem with externalproject and configure options
David Cole
dlrdave at aol.com
Mon Jun 10 10:34:55 EDT 2013
...
> xpr-incdir=${Xpress_root_dir}/include --with-xpr-lib="-lxprs -lxprl"
> --with-osixpr-incdir=${Xpress_root_dir}/include
> --with-osixpr-lib="-lxprs -lxprl"
> --with-xpress-incdir=${Xpress_root_dir}/include
> --with-xpress-lib="-lxprs -lxprl"
...
Try this:
"--with-xpr-lib=\"-lxprs -lxprl\""
to escape the double quotes and embed them into a single argument to ExternalProject_Add.
If that doesn’t work, it might be easiest to write a script that calls the command line you want, and then invoke the script as the configure command instead.
HTH,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130610/087e7031/attachment.htm>
More information about the CMake
mailing list