[CMake] Unneeded escaping: how to stop it?

Brandon Van Every bvanevery at gmail.com
Sun Jan 27 22:30:24 EST 2008


On Jan 27, 2008 9:20 PM, Steven Van Ingelgem <steven at vaningelgem.be> wrote:
> Hi,
>
>
> I'm working on a SLES10.
>
>
> I have an "add_custom_command" with in it's command:
>
> LDFLAGS="-L${PROJECT_SOURCE_DIR}/lib -ldl" ./configure ...etc...
>
> Now if I go and check the configure log, I see that the LDFLAGS are
> interpreted as "-L${PROJECT_SOURCE_DIR}/lib\ -ldl" (watch the escaping
> of the " " (space)).

Did you try VERBATIM?


Cheers,
Brandon Van Every


More information about the CMake mailing list