mirror of https://git.wownero.com/dsc/mxe.git
qt: set CMake QT_QMAKE_EXECUTABLE variable to cache
This commit is contained in:
parent
487359e283
commit
941541e551
|
@ -131,7 +131,7 @@ define $(PKG)_BUILD
|
||||||
`'$(TARGET)-pkg-config' QtGui --cflags --libs`
|
`'$(TARGET)-pkg-config' QtGui --cflags --libs`
|
||||||
|
|
||||||
# setup cmake toolchain
|
# setup cmake toolchain
|
||||||
echo 'set(QT_QMAKE_EXECUTABLE $(PREFIX)/$(TARGET)/qt/bin/qmake)' > '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
echo 'set(QT_QMAKE_EXECUTABLE $(PREFIX)/$(TARGET)/qt/bin/qmake CACHE FILEPATH "Qt4 qmake executable")' > '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
||||||
# fix static linking errors of QtGui to missing lcms2 and lzma
|
# fix static linking errors of QtGui to missing lcms2 and lzma
|
||||||
# introduced by poor libmng linking
|
# introduced by poor libmng linking
|
||||||
echo 'set(MNG_LIBRARY mng lcms2 lzma)' >> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
echo 'set(MNG_LIBRARY mng lcms2 lzma)' >> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
||||||
|
|
Loading…
Reference in New Issue