[CMake] ; list

Patrick Welche prlw1 at cam.ac.uk
Thu Sep 21 10:15:28 EDT 2017


On Thu, Sep 21, 2017 at 03:35:13PM +0200, Nils Gladitz wrote:
> On Thu, Sep 21, 2017 at 3:26 PM, Patrick Welche <prlw1 at cam.ac.uk> wrote:
> When unquoted each list items is turned into a distinct argument for the
> message() invocation.
> message() concatenates its arguments hence "onetwo".
> 
> To preserve the semicolon in the message try message("${var}")

Thank you!

Patrick


More information about the CMake mailing list