From 297009452be9a367f1b0be31245b696adff056be Mon Sep 17 00:00:00 2001 From: Xavi99 Date: Sat, 24 Oct 2026 18:00:00 +0200 Subject: [PATCH] Fix: Missing "PRIVATE" inside cmake example --- wiki/resources/build-systems/cmake.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/resources/build-systems/cmake.md b/wiki/resources/build-systems/cmake.md index dfc9a19..e6931a6 100644 --- a/wiki/resources/build-systems/cmake.md +++ b/wiki/resources/build-systems/cmake.md @@ -37,7 +37,7 @@ add_executable( util.cpp ) # Set your C++ standard to C++20 -target_compile_features(myprogram cxx_std_20) +target_compile_features(myprogram PRIVATE cxx_std_20) ``` To build: