summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2024-06-30 16:13:02 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2024-06-30 16:13:02 +0200
commitbc983f30186f3c204b1daea57b0057f93b74dde1 (patch)
tree357a9a66bd433007f792130ebbeb5c2df4f8c507 /README.md
parent89fb04a92f080a266c9b509cb522a4b8e8ad92de (diff)
New upstream version 0.9.8+dfsgupstream/0.9.8+dfsgupstream
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 2846e9d..d399ca2 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ please check out [https://uriparser.github.io/](https://uriparser.github.io/).
# Example use from an existing CMake project
```cmake
-cmake_minimum_required(VERSION 3.3)
+cmake_minimum_required(VERSION 3.5.0)
project(hello VERSION 1.0.0)
@@ -49,9 +49,6 @@ target_link_libraries(hello PUBLIC uriparser::uriparser)
## Available CMake options (and defaults)
```console
# rm -f CMakeCache.txt ; cmake -LH . | grep -B1 ':.*=' | sed 's,--,,'
-// Build shared libraries (rather than static ones)
-BUILD_SHARED_LIBS:BOOL=ON
-
// Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
@@ -82,6 +79,9 @@ URIPARSER_ENABLE_INSTALL:BOOL=ON
// Use of specific runtime library (/MT /MTd /MD /MDd) with MSVC
URIPARSER_MSVC_RUNTIME:STRING=
+// Build shared libraries (rather than static ones)
+URIPARSER_SHARED_LIBS:BOOL=ON
+
// Treat all compiler warnings as errors
URIPARSER_WARNINGS_AS_ERRORS:BOOL=OFF
```