mirror of https://git.wownero.com/dsc/mxe.git
pkgconf: added option CACHE PATH for PKG_CONFIG_EXECUTABLE in pkgconf.cmake so that pkgconf can be found through cmake at first run
This commit is contained in:
parent
6a658bf6ee
commit
5a81e60e04
|
@ -33,7 +33,7 @@ define $(PKG)_BUILD
|
|||
chmod 0755 '$(PREFIX)/bin/$(TARGET)-pkg-config'
|
||||
|
||||
# create cmake file
|
||||
echo 'set(PKG_CONFIG_EXECUTABLE $(PREFIX)/bin/$(TARGET)-pkg-config)' \
|
||||
echo 'set(PKG_CONFIG_EXECUTABLE $(PREFIX)/bin/$(TARGET)-pkg-config CACHE PATH "pkg-config executable")' \
|
||||
> '$(CMAKE_TOOLCHAIN_DIR)/pkgconf.cmake'
|
||||
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue