Merge pull request #896 from ChristianFrisson/pkgconf-cmake

pkgconf: added option CACHE PATH for PKG_CONFIG_EXECUTABLE
This commit is contained in:
Tony Theodore 2015-09-30 00:02:36 +10:00
commit 1c8e5999c1
1 changed files with 1 additions and 1 deletions

View File

@ -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