mirror of https://git.wownero.com/dsc/mxe.git
widl: create cmake toolchain dir before writing to it
This commit is contained in:
parent
9d39a40a2b
commit
199cace2f8
|
@ -27,6 +27,7 @@ define $(PKG)_BUILD
|
||||||
$(MAKE) -C '$(1)/mingw-w64-tools/widl' -j '$(JOBS)' install
|
$(MAKE) -C '$(1)/mingw-w64-tools/widl' -j '$(JOBS)' install
|
||||||
|
|
||||||
# create cmake file
|
# create cmake file
|
||||||
|
mkdir -p '$(CMAKE_TOOLCHAIN_DIR)'
|
||||||
echo 'set(CMAKE_WIDL $(PREFIX)/bin/$(TARGET)-$(PKG) CACHE PATH "widl executable")' \
|
echo 'set(CMAKE_WIDL $(PREFIX)/bin/$(TARGET)-$(PKG) CACHE PATH "widl executable")' \
|
||||||
> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue