diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/modules/FileLogger/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/modules/SystemBackendPosix/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/modules/SystemBackendProc/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/modules/UserConfigBackendHome/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/modules/UserDBBackendMysql/CMakeLists.txt | 2 |
6 files changed, 6 insertions, 4 deletions
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}) |