From 664b4dd6ebfac5cb3bf3412a6d81a8f04b8d23b3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 1 Jul 2009 19:29:37 +0200 Subject: =?UTF-8?q?libCommon,=20libServer,=20libDaemon,=20libClient:=20Sta?= =?UTF-8?q?ndardm=C3=A4=C3=9Fig=20als=20Shared=20Library=20erzeugen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/RequestHandlers/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Common/RequestHandlers/CMakeLists.txt') 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) -- cgit v1.2.3