...

> 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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to