carl9170 firmware build: mkdir include/generated when not present
[carl9170fw.git] / CMakeLists.txt
index c017bbbdbb1d264e6b1730f2b287e1ae3cab24ea..51d6265cc9ae48d0acb3ad3fe3f946021acd3cae 100644 (file)
@@ -7,6 +7,8 @@ project(carl9170)
 
 include("config.cmake")
 
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/generated")
+
 add_subdirectory(carlfw)
 
 if (CONFIG_CARL9170FW_BUILD_MINIBOOT)