summaryrefslogtreecommitdiffstats
path: root/src/Common
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-07-01 19:29:37 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-07-01 19:29:37 +0200
commit664b4dd6ebfac5cb3bf3412a6d81a8f04b8d23b3 (patch)
tree1d07ab154bee3c3d66e94d75dd92b3db3015a3f3 /src/Common
parent8f816818fb85d16f10d8337d05843e010a4c3ffa (diff)
downloadmad-664b4dd6ebfac5cb3bf3412a6d81a8f04b8d23b3.tar
mad-664b4dd6ebfac5cb3bf3412a6d81a8f04b8d23b3.zip
libCommon, libServer, libDaemon, libClient: Standardmäßig als Shared Library erzeugen
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)