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:
parent
92c3f32f08
commit
a6a4ed5ea8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue