summaryrefslogtreecommitdiffstats
path: root/src/widl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/widl.mk')
-rw-r--r--src/widl.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widl.mk b/src/widl.mk
index 1e8d8f7..e338949 100644
--- a/src/widl.mk
+++ b/src/widl.mk
@@ -27,6 +27,7 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)/mingw-w64-tools/widl' -j '$(JOBS)' install
# create cmake file
+ mkdir -p '$(CMAKE_TOOLCHAIN_DIR)'
echo 'set(CMAKE_WIDL $(PREFIX)/bin/$(TARGET)-$(PKG) CACHE PATH "widl executable")' \
> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
endef