mirror of https://git.wownero.com/dsc/mxe.git
Merge pull request #1833 from muellni/qt4_cmake_cache_qmake
qt: set CMake QT_QMAKE_EXECUTABLE variable to cache
This commit is contained in:
commit
72e622caa6
|
@ -131,7 +131,7 @@ define $(PKG)_BUILD
|
|||
`'$(TARGET)-pkg-config' QtGui --cflags --libs`
|
||||
|
||||
# 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
|
||||
# introduced by poor libmng linking
|
||||
echo 'set(MNG_LIBRARY mng lcms2 lzma)' >> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
||||
|
|
Loading…
Reference in New Issue