Skip to content
Snippets Groups Projects
Commit 1437528c authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Merge branch 'remove-old-clang-quirk' into 'master'

Remove a work-around for clang 5 and earlier

See merge request !119
parents 39ab5635 95866509
Branches
No related tags found
1 merge request!119Remove a work-around for clang 5 and earlier
Pipeline #49528 passed
......@@ -68,17 +68,6 @@ if (ADOLC_FOUND)
add_dune_adolc_flags(adolctest)
endif()
# disable test involving boost for clang with c++17
# In the standard, auto_ptr got removed and while there is a flag
# to tell boost not to use auto_ptr anymore, this leads to undefined reference linker error
if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6)
if(Boost_SERIALIZATION_FOUND)
dune_add_test(SOURCES serializationtest.cc)
set_property(TARGET serializationtest APPEND PROPERTY INCLUDE_DIRECTORIES ${Boost_INCLUDE_DIRS})
target_link_libraries(serializationtest PUBLIC ${Boost_SERIALIZATION_LIBRARY})
endif()
endif()
if (HDF5_FOUND)
dune_add_test(SOURCES test-hdf5.cc)
add_dune_hdf5_flags(test-hdf5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment