Subject: Fixed value of LIBWEBSOCKETS_LIBRARIES_STATIC
authorSergey Kovalevich <inndie@gmail.com>
Mon, 29 May 2017 18:44:01 +0000 (21:44 +0300)
committerAndy Green <andy@warmcat.com>
Tue, 30 May 2017 00:59:15 +0000 (08:59 +0800)
CMakeLists.txt

index 8f3994d..bbce17d 100644 (file)
@@ -1778,7 +1778,7 @@ message("---------------------------------------------------------------------")
 # These will be available to parent projects including libwebsockets using add_subdirectory()
 set(LIBWEBSOCKETS_LIBRARIES ${LWS_LIBRARIES} CACHE STRING "Libwebsocket libraries")
 if (LWS_WITH_STATIC)
-       set(LIBWEBSOCKETS_LIBRARIES_STATIC websocket CACHE STRING "Libwebsocket static library")
+       set(LIBWEBSOCKETS_LIBRARIES_STATIC websockets CACHE STRING "Libwebsocket static library")
 endif()
 if (LWS_WITH_SHARED)
        set(LIBWEBSOCKETS_LIBRARIES_SHARED websockets_shared CACHE STRING "Libwebsocket shared library")