1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-25 10:50:08 +03:00

README: Fix CMake example options

zlib is disabled by default now.
This commit is contained in:
Nick Wellnhofer 2025-01-29 12:58:31 +01:00
parent 64bfe1f7be
commit fdc73dd07c

View File

@ -113,9 +113,8 @@ Common CMake options include:
-D CMAKE_BUILD_TYPE=Release # specify build type
-D CMAKE_INSTALL_PREFIX=/usr/local # specify the install path
-D LIBXML2_WITH_ICONV=OFF # disable iconv
-D LIBXML2_WITH_LZMA=OFF # disable liblzma
-D LIBXML2_WITH_PYTHON=OFF # disable Python
-D LIBXML2_WITH_ZLIB=OFF # disable libz
-D LIBXML2_WITH_ZLIB=ON # enable zlib
You can also open the libxml source directory with its CMakeLists.txt
directly in various IDEs such as CLion, QtCreator, or Visual Studio.