diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 17:50:55 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 17:54:35 +0200 |
commit | b64743e0aeb267cc740d9d8882036eb1ed200443 (patch) | |
tree | a61959fb6e55903db066e6eac4beac91ddb276c0 /lib/configuration | |
parent | Add cmake manpage target (diff) | |
download | smolbote-b64743e0aeb267cc740d9d8882036eb1ed200443.tar.xz |
Fix config.h from regenerating on every build
Diffstat (limited to 'lib/configuration')
-rw-r--r-- | lib/configuration/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/configuration/CMakeLists.txt b/lib/configuration/CMakeLists.txt index def0356..d5a46ae 100644 --- a/lib/configuration/CMakeLists.txt +++ b/lib/configuration/CMakeLists.txt @@ -8,7 +8,10 @@ set(CMAKE_AUTOMOC ON) add_library(configuration configuration.cpp - configuration.h) + configuration.h +) + +add_dependencies(configuration config_header) target_include_directories(configuration PRIVATE ${Boost_INCLUDE_DIRS} |