From a154b9b23d3c664478dea02c5e069a0934635b6e Mon Sep 17 00:00:00 2001
From: Thibault Hallouin <thibault.hallouin@inrae.fr>
Date: Mon, 17 Apr 2023 16:21:32 +0200
Subject: [PATCH] add flag for C++17 standard for private scope

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a530b51..c03bfb9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,6 +67,8 @@ target_compile_features(
         evalhyd-cli
         PUBLIC
                 cxx_std_17
+        PRIVATE
+                cxx_std_17
 )
 
 # add CLI application
-- 
GitLab