From a46dccdf245f8f330541933df1d39d03855f9c04 Mon Sep 17 00:00:00 2001 From: Marco Randazzo Date: Fri, 17 Nov 2023 00:11:12 +0100 Subject: [PATCH] catch2 fix --- extern/catch2/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extern/catch2/CMakeLists.txt b/extern/catch2/CMakeLists.txt index f61cd9d1da..5de4dc6743 100644 --- a/extern/catch2/CMakeLists.txt +++ b/extern/catch2/CMakeLists.txt @@ -3,6 +3,10 @@ project(YARP_catch2) +set(CMAKE_CXX_EXTENSIONS OFF) +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + add_library(YARP_catch2 STATIC) add_library(YARP::YARP_catch2 ALIAS YARP_catch2)