From 02299eeed1b8302cc0bf6d2cd1a8fc00eab0a0bf Mon Sep 17 00:00:00 2001 From: Nicolas Werner <nicolas.werner@hotmail.de> Date: Sat, 4 Apr 2020 18:39:06 +0200 Subject: [PATCH] Add CXX standard to the mtxclient target --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e1a63f19c..007360434 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 -- GitLab