Subject: Fixed value of LIBWEBSOCKETS_LIBRARIES_STATIC

This commit is contained in:
Sergey Kovalevich 2017-05-29 21:44:01 +03:00 committed by Andy Green
parent a64bdff642
commit 2e8c0256c0

View file

@ -1723,7 +1723,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")