diff options
author | louiz’ <louiz@louiz.org> | 2017-03-15 18:31:59 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-03-15 18:31:59 +0100 |
commit | 2d50fec964145db0ed3c05ceb5845ea87fbb7622 (patch) | |
tree | 5bd596ecbd3c84c9e1663453c6ab908fad9ea25b | |
parent | 7c036d05934616e621dab44e68428573a46d9a04 (diff) | |
download | biboumi-2d50fec964145db0ed3c05ceb5845ea87fbb7622.tar.gz biboumi-2d50fec964145db0ed3c05ceb5845ea87fbb7622.tar.bz2 biboumi-2d50fec964145db0ed3c05ceb5845ea87fbb7622.tar.xz biboumi-2d50fec964145db0ed3c05ceb5845ea87fbb7622.zip |
cmake: Make some libraries depend on the generated files from database lib
-rw-r--r-- | CMakeLists.txt | 5 |
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" |