From 438db24159467615b7a9c89dbf1f60f915ec4e8c Mon Sep 17 00:00:00 2001 From: Alex T Date: Sun, 14 Dec 2025 19:42:09 +0100 Subject: [PATCH] unit tests: remove explicit c++11 requirement for mock/ioinit GTest now requires at least c++14 and this line caused compilation failures while working fine without it. Signed-off-by: Alex T --- tests/unit/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index e6b1d90..a422399 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -51,9 +51,6 @@ if (DETECTED_ARCH STREQUAL "MOCK") target_include_directories(test_unit_ioinit_hpp PRIVATE "${CMAKE_SOURCE_DIR}/api") gtest_add_tests(test_unit_ioinit_hpp "" api/mraa_initio_hpp_unit.cxx) list(APPEND GTEST_UNIT_TEST_TARGETS test_unit_ioinit_hpp) - - # The initio C++ header requires c++11 - use_cxx_11(test_unit_ioinit_hpp) endif() # Add a target for all unit tests