When both minizip [1] and libzip [2] are present in the build
environment we have two <zip.h> includes. We are interested in
the minizip. Unfortunately, libzip usually installs its zip.h
straight into ${PREFIX}/include where lots of other headers reside.
We pick up ${PREFIX}/include into the include path with the
desktop-app::lib_base target, which is also dependency of
of tdesktop::td_* targets. To fix compilation in presence of
conflicting zip.h we need to put minizip's include directory
before ${PREFIX}/include, thus record its dependency before
all other dependencies that can bring desktop-app::lib_base.
[1] http://www.winimage.com/zLibDll/minizip.html
[2] https://libzip.org
|
||
|---|---|---|
| .. | ||
| build | ||
| cmake | ||
| codegen@7bc5339d18 | ||
| lib_base@e8adbd1fa6 | ||
| lib_crl@ec103d6bcc | ||
| lib_lottie@25294ef8da | ||
| lib_qr@2b08c71c6e | ||
| lib_rlottie@0671bf7054 | ||
| lib_rpl@df721be3fa | ||
| lib_spellcheck@212d660cbb | ||
| lib_storage@73d57840ac | ||
| lib_tl@45faed44e7 | ||
| lib_ui@b35d2d257a | ||
| lib_waylandshells@59b0ee55a6 | ||
| lib_webrtc@29d5131791 | ||
| lib_webview@3cb51ac668 | ||
| Resources | ||
| SetupFiles | ||
| SourceFiles | ||
| Telegram | ||
| ThirdParty | ||
| CMakeLists.txt | ||
| configure.bat | ||
| configure.py | ||
| configure.sh | ||
| create.bat | ||
| Telegram.plist | ||