summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 55cee2b..581782e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,14 +153,17 @@ include_directories("${CMAKE_CURRENT_BINARY_DIR}/")
file(GLOB source_utils
src/utils/*.[hc]pp)
add_library(utils OBJECT ${source_utils})
+add_dependencies(utils database)
file(GLOB source_irc
src/irc/*.[hc]pp)
add_library(irc OBJECT ${source_irc})
+add_dependencies(irc database)
file(GLOB source_xmpp
src/xmpp/*.[hc]pp)
add_library(xmpp OBJECT ${source_xmpp})
+add_dependencies(xmpp database)
file(GLOB source_identd
src/identd/*.[hc]pp)
@@ -169,6 +172,7 @@ add_library(identd OBJECT ${source_identd})
file(GLOB source_bridge
src/bridge/*.[hc]pp)
add_library(bridge OBJECT ${source_bridge})
+add_dependencies(bridge database)
file(GLOB source_config
src/config/*.[hc]pp)
@@ -181,6 +185,7 @@ add_library(logger OBJECT ${source_logger})
file(GLOB source_network
src/network/*.[hc]pp)
add_library(network OBJECT ${source_network})
+add_dependencies(network database)
if(LITESQL_FOUND)
LITESQL_GENERATE_CPP("database/database.xml"