[Libwebsockets] build doc not working in 'build' directory with cmake + fix

"Andy Green (林安廸)" andy at warmcat.com
Tue Feb 19 19:11:58 CET 2013


On 19/02/13 21:04, the mail apparently from Edwin van den Oetelaar included:
> Hello Andy and other folks,
>
> The procedure ;
> mkdir build ; cd build ; cmake ../
>
> complained about :
> Error: Cannot open file lib/libwebsockets.h
>
> This is a possible fix.

Thanks... it worked OK here on cmake 2.8.10.2 without this, but it also 
works with it, so pushed

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

-Andy

> Greetings,
> Edwin van den Oetelaar
>
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index 3bb6c6d..b8bca0f 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -209,7 +209,7 @@ set(HDR_PRIVATE
>          )
>
>   set(HDR_PUBLIC
> -       lib/libwebsockets.h
> +       ${PROJECT_SOURCE_DIR}/lib/libwebsockets.h
>          )
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets
>




More information about the Libwebsockets mailing list