[CMake] How to pass linker options with whitespace?

Fredrik Orderud forderud at gmail.com
Mon May 13 05:36:59 EDT 2019


On Mon, May 13, 2019 at 8:40 AM Marc CHEVRIER <marc.chevrier at gmail.com> wrote:
> You have to use SHELL token (see documentation of add_link_options)
> add_link_options ("SHELL:-s USE_WEBGL2=1"  "SHELL:-s FULL_ES2=1")

You're of course right. Using "SHELL:" worked perfectly, and solved my
problem. Sorry for not reading the doc properly before contacting the
mailing list.

Fredrik


More information about the CMake mailing list