From f6fd2a98ab2ee2a4ad34ad13d599fc7ca98910f3 Mon Sep 17 00:00:00 2001 From: orhaneee Date: Mon, 14 Dec 2020 21:47:40 +0300 Subject: [PATCH] build: added shared option --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c2fad3f..94d2c9c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,3 +82,4 @@ install(TARGETS ${TARGET_LIBRARIES} install(FILES ${Boost_LIBRARIES} DESTINATION "${CMAKE_CURRENT_LIST_DIR}/build/lib/${CMAKE_BUILD_TYPE}" ) +set_property(TARGET sioclient PROPERTY COMPILE_FLAGS "-fPIC")