Hi,
building ROOT from source (git head) find_package(ZLIB REQUIRED) from core/zip/CMakeLists.txt returns ZIP lib from my Postgre14 installation (cause it’s in the $PATH) which is wrong.
How to avoid this mess and to force to use the “builtin ZIP”? Why “the builtin ZIP” is not a default option?
Add the -Dbuiltin_zlib=ON CMake option, or check it in the cmake-gui.
And is it on Windows? We could consider making builtin_zlib=ON by default. Note that this kind of issue might occur with other options.
I build every day, and our CI incremental build is green on Windows. What are the errors you got? Which version of Visual Studio? Which configuration (Win32/Win64)?