mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
cmake fix shared library disable broke the build on platforms other then windows and apple
This commit is contained in:
parent
3ae1badae7
commit
c010aa579e
1 changed files with 5 additions and 3 deletions
|
@ -445,9 +445,11 @@ elseif(APPLE)
|
|||
set_property(TARGET websockets_shared PROPERTY MACOSX_RPATH YES)
|
||||
endif()
|
||||
else()
|
||||
set_target_properties(websockets_shared
|
||||
PROPERTIES
|
||||
OUTPUT_NAME websockets)
|
||||
if (LWS_WITH_SHARED)
|
||||
set_target_properties(websockets_shared
|
||||
PROPERTIES
|
||||
OUTPUT_NAME websockets)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Set the so version of the lib.
|
||||
|
|
Loading…
Add table
Reference in a new issue