We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a72b7a commit c25bb4fCopy full SHA for c25bb4f
CMakeLists.txt
@@ -10,6 +10,7 @@ include(CTest)
10
11
set(WERROR true CACHE BOOL "Enable warnings as errors.")
12
set(WALL true CACHE BOOL "Enable all warnings.")
13
+set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries")
14
15
if(NOT WIN32)
16
set(EXTRA_FLAGS "-std=c++11 -fPIC -DNO_SIGNALRCLIENT_EXPORTS")
src/signalrclient/CMakeLists.txt
@@ -29,7 +29,7 @@ include_directories(
29
../../third_party_code/cpprestsdk
30
../../third_party_code/jsoncpp)
31
32
-add_library (signalrclient SHARED ${SOURCES})
+add_library (signalrclient ${SOURCES})
33
34
if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
35
if(WERROR)
0 commit comments