aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-20 17:50:55 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-20 17:54:35 +0200
commitb64743e0aeb267cc740d9d8882036eb1ed200443 (patch)
treea61959fb6e55903db066e6eac4beac91ddb276c0 /src
parentAdd cmake manpage target (diff)
downloadsmolbote-b64743e0aeb267cc740d9d8882036eb1ed200443.tar.xz
Fix config.h from regenerating on every build
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4ae7448..7f79d14 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -72,6 +72,8 @@ else()
add_executable(${CONFIG_POI_EXE} ${srclist})
endif()
+add_dependencies(${CONFIG_POI_EXE} config_header)
+
target_include_directories(${CONFIG_POI_EXE}
PRIVATE ${Boost_INCLUDE_DIRS}
PRIVATE ${PROJECT_SOURCE_DIR}/include