]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
INSTALL-CMAKE.md: add manual configuration examples
authorViktor Szakats <commit@vsz.me>
Tue, 21 Oct 2025 13:08:53 +0000 (15:08 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 21 Oct 2025 15:18:34 +0000 (17:18 +0200)
Closes #19179

docs/INSTALL-CMAKE.md

index 996ba698d0421fcd053590f298c616ceb5a9dad5..c622b8392098353c84b3f9ef9a7b6999d91772a1 100644 (file)
@@ -454,6 +454,22 @@ Details via CMake
 - `ZSTD_INCLUDE_DIR`:                       Absolute path to zstd include directory.
 - `ZSTD_LIBRARY`:                           Absolute path to `zstd` library.
 
+Examples:
+
+- `-DLIBPSL_INCLUDE_DIR=/path/to/libpl/include`,
+  which directory contains `libpsl.h`.
+  No ending slash or backslash is necessary.
+
+- `-DNGHTTP3_INCLUDE_DIR=/path/to/libnghttp3/include`,
+  which directory contains an `nghttp3` subdirectory with `.h` files in it.
+
+- `-DLIBPSL_LIBRARY=/path/to/libpsl/lib/libpsl.a`
+  Always a single library, with its complete filename, as-is on the file system.
+
+- `-DOPENSSL_ROOT_DIR=/path/to/openssl`,
+  which directory (typically) contains `include` and `lib` subdirectories.
+  No ending slash or backslash is necessary.
+
 ## Test tools
 
 - `APXS`:                                   Default: `apxs`