From 36792c7b489c984db95e2384660f1933c0498db0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 20 Aug 2009 02:01:26 +0200 Subject: =?UTF-8?q?CMake:=20Ein=20paar=20Fixes=20f=C3=BCr=20MacOS=20X?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/CMakeLists.txt | 2 +- src/modules/FileLogger/CMakeLists.txt | 2 +- src/modules/SystemBackendPosix/CMakeLists.txt | 1 + src/modules/SystemBackendProc/CMakeLists.txt | 1 + src/modules/UserConfigBackendHome/CMakeLists.txt | 2 +- src/modules/UserDBBackendMysql/CMakeLists.txt | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt index 13ad209..7e11214 100644 --- a/src/modules/CMakeLists.txt +++ b/src/modules/CMakeLists.txt @@ -29,7 +29,7 @@ macro(mad_module_libraries name) string(TOUPPER ${name} upper_name) if(WITH_${upper_name}) - target_link_libraries(${name} ${ARGN}) + target_link_libraries(${name} Common Net Core ${ARGN}) endif(WITH_${upper_name}) endmacro(mad_module_libraries) diff --git a/src/modules/FileLogger/CMakeLists.txt b/src/modules/FileLogger/CMakeLists.txt index ac1deab..c96f078 100644 --- a/src/modules/FileLogger/CMakeLists.txt +++ b/src/modules/FileLogger/CMakeLists.txt @@ -4,4 +4,4 @@ mad_module(FileLogger FileLogger.h Module.cpp Module.h ) -mad_module_libraries(FileLogger Common) +mad_module_libraries(FileLogger) diff --git a/src/modules/SystemBackendPosix/CMakeLists.txt b/src/modules/SystemBackendPosix/CMakeLists.txt index 0cd493d..df929d7 100644 --- a/src/modules/SystemBackendPosix/CMakeLists.txt +++ b/src/modules/SystemBackendPosix/CMakeLists.txt @@ -4,3 +4,4 @@ mad_module(SystemBackendPosix Module.cpp Module.h SystemBackendPosix.cpp SystemBackendPosix.h ) +mad_module_libraries(SystemBackendPosix) diff --git a/src/modules/SystemBackendProc/CMakeLists.txt b/src/modules/SystemBackendProc/CMakeLists.txt index 5341f89..caff9cc 100644 --- a/src/modules/SystemBackendProc/CMakeLists.txt +++ b/src/modules/SystemBackendProc/CMakeLists.txt @@ -4,3 +4,4 @@ mad_module(SystemBackendProc Module.cpp Module.h SystemBackendProc.cpp SystemBackendProc.h ) +mad_module_libraries(SystemBackendProc) diff --git a/src/modules/UserConfigBackendHome/CMakeLists.txt b/src/modules/UserConfigBackendHome/CMakeLists.txt index 4f8e224..9d27fce 100644 --- a/src/modules/UserConfigBackendHome/CMakeLists.txt +++ b/src/modules/UserConfigBackendHome/CMakeLists.txt @@ -5,4 +5,4 @@ mad_module(UserConfigBackendHome UserConfigBackendHome.cpp UserConfigBackendHome.h ) -mad_module_libraries(UserConfigBackendHome) \ No newline at end of file +mad_module_libraries(UserConfigBackendHome) diff --git a/src/modules/UserDBBackendMysql/CMakeLists.txt b/src/modules/UserDBBackendMysql/CMakeLists.txt index 80b83d1..a505c8a 100644 --- a/src/modules/UserDBBackendMysql/CMakeLists.txt +++ b/src/modules/UserDBBackendMysql/CMakeLists.txt @@ -4,4 +4,4 @@ mad_module(UserDBBackendMysql Module.cpp Module.h UserDBBackendMysql.cpp UserDBBackendMysql.h ) -mad_module_libraries(UserDBBackendMysql ${MYSQL_LIBRARIES}) \ No newline at end of file +mad_module_libraries(UserDBBackendMysql ${MYSQL_LIBRARIES}) -- cgit v1.2.3