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 /src | |
parent | Add cmake manpage target (diff) | |
download | smolbote-b64743e0aeb267cc740d9d8882036eb1ed200443.tar.xz |
Fix config.h from regenerating on every build
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 2 |
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 |