Skip to content

Commit 438db24

Browse files
alext-mkrstingleby
authored andcommitted
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 <alext.mkrs@gmail.com>
1 parent 5928e61 commit 438db24

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/unit/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ if (DETECTED_ARCH STREQUAL "MOCK")
5151
target_include_directories(test_unit_ioinit_hpp PRIVATE "${CMAKE_SOURCE_DIR}/api")
5252
gtest_add_tests(test_unit_ioinit_hpp "" api/mraa_initio_hpp_unit.cxx)
5353
list(APPEND GTEST_UNIT_TEST_TARGETS test_unit_ioinit_hpp)
54-
55-
# The initio C++ header requires c++11
56-
use_cxx_11(test_unit_ioinit_hpp)
5754
endif()
5855

5956
# Add a target for all unit tests

0 commit comments

Comments
 (0)