3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-04 16:44:07 +00:00

userPropagator: Compile as C++20.

Using std::unordered_map::contains requires C++20.
This commit is contained in:
Bruce Mitchener 2022-08-04 23:41:56 +07:00 committed by Nikolaj Bjorner
parent 1d9345c3de
commit 7eb1e6dd23

View file

@ -15,9 +15,9 @@ find_package(Z3
)
################################################################################
# Z3 C++ API bindings require C++11
# Z3 C++ API bindings require C++11, but this code needs later.
################################################################################
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
message(STATUS "Z3_FOUND: ${Z3_FOUND}")