[Libwebsockets] [libwebsockets] cmake: Argument not separated from preceding token by whitespace (#67)

"Andy Green (林安廸)" andy at warmcat.com
Thu Feb 27 00:36:26 CET 2014


On 26/02/14 21:37, the mail apparently from Marjan Tomas included:
> when compiling the actual libwebsockets master branch with
> MinGW-w64 (gcc 4.8.2) & CMake 2.8.12.2 on Win7 via:
>
>      cmake -DLWS_WITH_SSL=0 -DLWS_WITHOUT_TEST_SERVER_EXTPOLL=1 -G "MinGW Makefiles" ..
>      mingw32-make.exe
>
> the cmake step gives the **syntax warning**
>
>      Argument not separated from preceding token by whitespace
>
> in line 722 of [CMakeLists.txt](https://github.com/warmcat/libwebsockets/blob/master/CMakeLists.txt)
>
>      "prefix="${CMAKE_INSTALL_PREFIX}"
>
> seems like a simple double quote issue

It seems the quotes in the arg need escaping, at least the warning is 
gone and the .pc looks reasonable

http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/commit/?id=0f3e41373bcd2ae132dfa4d193224fde66aae4f0

-Andy

>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/warmcat/libwebsockets/issues/67
>




More information about the Libwebsockets mailing list