From 26fd0d260353a02bc435528126b81ae165cfbacb Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 29 Apr 2015 19:28:37 +0800 Subject: [PATCH] cmake revert change to linux so Put back the stanza fixing the .so name to what it has always been on Linux, trashed in f1b12544 Signed-off-by: Andy Green --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ccb76753..122ce411 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -444,6 +444,10 @@ elseif(APPLE) if (LWS_WITH_SHARED) set_property(TARGET websockets_shared PROPERTY MACOSX_RPATH YES) endif() +else() + set_target_properties(websockets_shared + PROPERTIES + OUTPUT_NAME websockets) endif() # Set the so version of the lib.