mirror of https://git.wownero.com/dsc/mxe.git
qt: fix libmng/tiff cmake deps
This commit is contained in:
parent
9426f0df0b
commit
86079641c8
|
@ -141,7 +141,7 @@ define $(PKG)_BUILD
|
|||
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'
|
||||
echo "set(MNG_LIBRARY `$(TARGET)-pkg-config --libs-only-l libmng`)" >> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
|
||||
|
||||
# test cmake
|
||||
mkdir '$(1).test-cmake'
|
||||
|
|
Loading…
Reference in New Issue