mirror of https://git.wownero.com/dsc/mxe.git
Merge pull request #896 from ChristianFrisson/pkgconf-cmake
pkgconf: added option CACHE PATH for PKG_CONFIG_EXECUTABLE
This commit is contained in:
commit
1c8e5999c1
|
@ -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