mirror of https://git.wownero.com/dsc/mxe.git
widl: generation of widl.cmake with CMAKE_WIDL indicating the path of the widl executable
This commit is contained in:
parent
6a658bf6ee
commit
5eb94126a1
|
@ -24,4 +24,8 @@ define $(PKG)_BUILD
|
|||
--prefix='$(PREFIX)' \
|
||||
--target='$(TARGET)'
|
||||
$(MAKE) -C '$(1)/mingw-w64-tools/widl' -j '$(JOBS)' install
|
||||
|
||||
# create cmake file
|
||||
echo 'set(CMAKE_WIDL $(PREFIX)/bin/$(TARGET)-$(PKG) CACHE PATH "widl executable")' \
|
||||
> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue