diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-07-01 19:29:37 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-07-01 19:29:37 +0200 |
commit | 664b4dd6ebfac5cb3bf3412a6d81a8f04b8d23b3 (patch) | |
tree | 1d07ab154bee3c3d66e94d75dd92b3db3015a3f3 /src/Common | |
parent | 8f816818fb85d16f10d8337d05843e010a4c3ffa (diff) | |
download | mad-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.txt | 1 | ||||
-rw-r--r-- | src/Common/RequestHandlers/CMakeLists.txt | 5 |
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) |