diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 18:48:56 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 18:48:56 +0200 |
commit | f25a3eb2ac26c99eb4a576d54f83c54767690904 (patch) | |
tree | c7e183baa5a67aec97f562be04324be01c43dc22 /cmake | |
parent | Fix config.h from regenerating on every build (diff) | |
download | smolbote-f25a3eb2ac26c99eb4a576d54f83c54767690904.tar.xz |
Create bindir/include if needed because make doesn't
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/VendorConfig.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/VendorConfig.cmake b/cmake/VendorConfig.cmake index 0e6891c..bb88eec 100644 --- a/cmake/VendorConfig.cmake +++ b/cmake/VendorConfig.cmake @@ -24,6 +24,7 @@ config("INSTALL_APPDIR" "Kconfig") config("INSTALL_ICONDIR" "Kconfig") add_custom_command(OUTPUT "${PROJECT_BINARY_DIR}/include/config.h" + COMMAND ${CMAKE_COMMAND} -E make_directory "${PROJECT_BINARY_DIR}/include" COMMAND ${CMAKE_COMMAND} -E env "srctree=${PROJECT_SOURCE_DIR}" ${PYTHON_EXECUTABLE} "${PROJECT_SOURCE_DIR}/tools/Kconfiglib/genconfig.py" "--header-path=${PROJECT_BINARY_DIR}/include/config.h" "${PROJECT_SOURCE_DIR}/src/Kconfig" WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/${SYSTEM_NAME}") |