3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-04 06:53:58 +00:00

Update README-CMake.md

Co-authored-by: gonzalobg <65027571+gonzalobg@users.noreply.github.com>
This commit is contained in:
Nikolaj Bjorner 2025-08-27 08:44:57 -07:00 committed by GitHub
parent 92c3f32f08
commit a6a4ed5ea8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -171,7 +171,7 @@ The `find_package(Z3 CONFIG)` approach uses Z3's provided `Z3Config.cmake` file,
This approach combines the benefits of both methods above: it uses a system-installed Z3 if available and meets the minimum version requirement, otherwise falls back to fetching Z3 from the repository. This is often the most practical approach for projects.
```cmake
set(Z3_MIN_VERSION "4.12.1")
set(Z3_MIN_VERSION "4.15.3")
# First, try to find Z3 on the system
find_package(Z3 ${Z3_MIN_VERSION} CONFIG QUIET)