Re: [CMake] external project CONFIGURE_COMMAND adds quotation to arguments

2019-09-04 Thread Edoardo Pasca
Brilliant! your suggestion has worked! Thank you so much Edo On Wed, Sep 4, 2019 at 11:23 AM Eric Doenges wrote: > On 04.09.2019 11:55, Edoardo Pasca wrote: > > Dear all, > > I'm using ExternalProjectAdd to build an external package. > > On the CONFIGURE_COMMAND I have to pass some variables

Re: [CMake] external project CONFIGURE_COMMAND adds quotation to arguments

2019-09-04 Thread Eric Doenges
On 04.09.2019 11:55, Edoardo Pasca wrote: Dear all,  I'm using ExternalProjectAdd to build an external package.  On the CONFIGURE_COMMAND I have to pass some variables to the configure script in

[CMake] external project CONFIGURE_COMMAND adds quotation to arguments

2019-09-04 Thread Edoardo Pasca
Dear all, I'm using ExternalProjectAdd to build an external package. On the CONFIGURE_COMMAND I have to pass some variables to the configure script in this form: configure CPPFLAGS="-I/dir/include -L/dir/lib" To do this I use CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env