From f25a3eb2ac26c99eb4a576d54f83c54767690904 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 20 Oct 2018 18:48:56 +0200 Subject: Create bindir/include if needed because make doesn't --- cmake/VendorConfig.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake/VendorConfig.cmake') 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}") -- cgit v1.2.1