summaryrefslogtreecommitdiffstats
path: root/src/Common
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Backends/CMakeLists.txt1
-rw-r--r--src/Common/RequestHandlers/CMakeLists.txt5
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Common/Backends/CMakeLists.txt b/src/Common/Backends/CMakeLists.txt
index 4d9d30e..631af52 100644
--- a/src/Common/Backends/CMakeLists.txt
+++ b/src/Common/Backends/CMakeLists.txt
@@ -3,4 +3,3 @@ include_directories(${INCLUDES})
add_library(Backends STATIC
NetworkUserBackend.cpp NetworkUserBackend.h
)
-target_link_libraries(Backends Common)
diff --git a/src/Common/RequestHandlers/CMakeLists.txt b/src/Common/RequestHandlers/CMakeLists.txt
index e6e34a7..7c5fa8f 100644
--- a/src/Common/RequestHandlers/CMakeLists.txt
+++ b/src/Common/RequestHandlers/CMakeLists.txt
@@ -7,4 +7,7 @@ add_library(RequestHandlers STATIC
SimpleRequestHandlerGroup.cpp SimpleRequestHandlerGroup.h
StatusRequestHandler.cpp StatusRequestHandler.h
)
-target_link_libraries(RequestHandlers Common)
+
+if(NOT BUILD_SHARED_LIBS)
+ target_link_libraries(RequestHandlers Common)
+endif(NOT BUILD_SHARED_LIBS)