From b64743e0aeb267cc740d9d8882036eb1ed200443 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 20 Oct 2018 17:50:55 +0200 Subject: Fix config.h from regenerating on every build --- lib/configuration/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') 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} -- cgit v1.2.1