From 6f7918c7532df7820f3987ef2f4afaccfde07bbd Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 21 Dec 2020 14:00:47 +0100 Subject: [PATCH] p9y: properly enforce C++11 --- src/p9y/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p9y/CMakeLists.txt b/src/p9y/CMakeLists.txt index 9d953ad0..ec7ce8d1 100644 --- a/src/p9y/CMakeLists.txt +++ b/src/p9y/CMakeLists.txt @@ -9,6 +9,9 @@ add_library(p9y STATIC p9y.cpp ) +set_target_properties(p9y PROPERTIES + CXX_STANDARD ${CXX_STANDARD} + ) target_include_directories(p9y PRIVATE . ${CMAKE_SOURCE_DIR}/include -- 2.30.2