Revert "Disable bundled libs by deafult"

This reverts commit ee72373bd3.
This commit is contained in:
2024-09-23 16:10:27 +02:00
parent ee72373bd3
commit 9a32138f6a
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ set(CMAKE_C_VISIBILITY_PRESET hidden)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
option(BUILD_SHARED_LIBS "Build using shared libraries" ON)
option(USE_BUNDLED_LIBS "Use bundled LZ4 PugiXML and Zlib. You can still exclude some" OFF)
option(USE_BUNDLED_LIBS "Use bundled LZ4 PugiXML and Zlib. You can still exclude some" ON)
cmake_dependent_option(USE_BUNDLED_LZ4 "Use bundled LZ4" ON "USE_BUNDLED_LIBS" OFF)
cmake_dependent_option(USE_BUNDLED_PUGIXML "Use bundled PugiXML" ON "USE_BUNDLED_LIBS" OFF)
cmake_dependent_option(USE_BUNDLED_ZLIB "Use bundled Zlib" ON "USE_BUNDLED_LIBS" OFF)
+4 -5
View File
@@ -3,8 +3,7 @@ LibXISF
LibXISF is C++ library that can read and write XISF files produced by [PixInsight](https://pixinsight.com/).
It implement [XISF 1.0 specification](https://pixinsight.com/doc/docs/XISF-1.0-spec/XISF-1.0-spec.html).
It is licensed under GPLv3 or later. To compile you will need C++17 compiler and zlib, lz4, pugixml and zstd libraries.
Zstd is optional but then you would not be able to open files that use this compression method.
It is licensed under GPLv3 or later. To compile you will need C++17 compiler.
To compile simply run these commands
```
@@ -13,6 +12,6 @@ cmake --build build --parallel
cmake --install build
```
If you wish to bundled libraries you will may add `-DUSE_BUNDLED_LIBS=On` to first cmake configuration command.
Then you will need *lz4 pkg-config pugixml zlib* installed. You may also specify `-DBUILD_SHARED_LIBS=Off`
if you want build static lib.
By default it use bundled libraries. If you wish to use external libraries you will may add
`-DUSE_BUNDLED_LIBS=Off` to first command. Then you will need *lz4 pkg-config pugixml zlib* installed.
You may also specify `-DBUILD_SHARED_LIBS=Off` if you want build static lib.