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>
This commit is contained in:
@@ -51,9 +51,6 @@ if (DETECTED_ARCH STREQUAL "MOCK")
|
|||||||
target_include_directories(test_unit_ioinit_hpp PRIVATE "${CMAKE_SOURCE_DIR}/api")
|
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)
|
gtest_add_tests(test_unit_ioinit_hpp "" api/mraa_initio_hpp_unit.cxx)
|
||||||
list(APPEND GTEST_UNIT_TEST_TARGETS test_unit_ioinit_hpp)
|
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()
|
endif()
|
||||||
|
|
||||||
# Add a target for all unit tests
|
# Add a target for all unit tests
|
||||||
|
|||||||
Reference in New Issue
Block a user