Subject: [PATCH] Adding lws_config.h to list of installed headers.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Wed, 26 Nov 2014 17:16:25 +0000 (18:16 +0100)
committerAndy Green <andy.green@linaro.org>
Wed, 26 Nov 2014 22:25:16 +0000 (06:25 +0800)
The lws_config.h is generated based on configuration
options for the build process. In order to write
applications which compile code depending of the
presence of a feature (like the test-server does)
this header file needs to be installed.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
CMakeLists.txt

index 77015cf..dbf7ba7 100644 (file)
@@ -260,11 +260,11 @@ include_directories("${PROJECT_SOURCE_DIR}/lib")
 # Some IDEs use this for nicer file structure.
 set(HDR_PRIVATE
        lib/private-libwebsockets.h
-       "${PROJECT_BINARY_DIR}/lws_config.h"
        )
 
 set(HDR_PUBLIC 
        "${PROJECT_SOURCE_DIR}/lib/libwebsockets.h"
+       "${PROJECT_BINARY_DIR}/lws_config.h"
        )
 
 set(SOURCES