File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
77## [ Unreleased]
88
9+ ### Fixed
10+ - Fix unit test build in C++11 ([ #442 ] ( https://github.com/stack-of-tasks/eigenpy/pull/442 ) )
11+
912## [ 3.4.0] - 2024-02-26
1013
1114### Added
Original file line number Diff line number Diff line change @@ -46,7 +46,10 @@ add_lib_unit_test(std_vector)
4646add_lib_unit_test(std_array)
4747add_lib_unit_test(std_pair)
4848add_lib_unit_test(user_struct)
49- add_lib_unit_test(std_unique_ptr)
49+
50+ if (CMAKE_CXX_STANDARD GREATER 14 AND CMAKE_CXX_STANDARD LESS 98)
51+ add_lib_unit_test(std_unique_ptr)
52+ endif ()
5053
5154function (config_test test tagname opttype)
5255 set (MODNAME ${test} _${tagname} )
@@ -137,8 +140,10 @@ add_python_unit_test("py-std-pair" "unittest/python/test_std_pair.py"
137140add_python_unit_test("py-user-struct" "unittest/python/test_user_struct.py"
138141 "unittest" )
139142
140- add_python_unit_test("py-std-unique-ptr"
141- "unittest/python/test_std_unique_ptr.py" "unittest" )
143+ if (CMAKE_CXX_STANDARD GREATER 14 AND CMAKE_CXX_STANDARD LESS 98)
144+ add_python_unit_test("py-std-unique-ptr"
145+ "unittest/python/test_std_unique_ptr.py" "unittest" )
146+ endif ()
142147
143148add_python_unit_test("py-bind-virtual" "unittest/python/test_bind_virtual.py"
144149 "unittest" )
You can’t perform that action at this time.
0 commit comments