summaryrefslogtreecommitdiffstats
path: root/src/Common/RequestHandlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/RequestHandlers')
-rw-r--r--src/Common/RequestHandlers/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
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)