diff --git a/CMakeLists.txt b/CMakeLists.txt index e1a63f19cfdaa877c4db24c534c97932963a37b6..0073604340d0ece1c6b89a2fe5cca197ca93b9fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,6 +211,8 @@ target_sources(matrix_client lib/structs/responses/version.cpp lib/structs/responses/well-known.cpp) add_library(MatrixClient::MatrixClient ALIAS matrix_client) +set_property(TARGET matrix_client PROPERTY CXX_STANDARD 17) +set_property(TARGET matrix_client PROPERTY CXX_EXTENSIONS OFF) target_include_directories( matrix_client PUBLIC