summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2024-07-12 08:33:43 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2024-07-12 08:33:43 +0200
commitd900a0ce85f9389882567e9698b4f785971f35a8 (patch)
tree866aa6eda9429d9e96cb770b7689d51d78f2b624 /README.md
parent9d31dcdfaf0dba9491580ba69eae7817a5b0d455 (diff)
parent9b93aee54f41e2700d2c10f46f26fec69673c7c9 (diff)
Merge branch 'release/debian/0.9.8+dfsg-1'debian/0.9.8+dfsg-1
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
```