From 303f385cb9d055344c59e76cba51b3c2cd09c9cf Mon Sep 17 00:00:00 2001 From: Christoph Alt <christoph.alt@fau.de> Date: Mon, 10 Mar 2025 16:54:13 +0100 Subject: [PATCH] removed old gcc workaround --- cmake/compileroptions/GNU.cmake | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cmake/compileroptions/GNU.cmake b/cmake/compileroptions/GNU.cmake index 1cc6ef532..f99123294 100644 --- a/cmake/compileroptions/GNU.cmake +++ b/cmake/compileroptions/GNU.cmake @@ -61,16 +61,6 @@ if ( WALBERLA_BUILD_WITH_FASTMATH ) add_flag( CMAKE_CXX_FLAGS "-ffast-math") endif() -#GCC 5+ ABI selection -if( NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0.0 ) - option ( WALBERLA_USE_CPP11_ABI "On GCC 5+ use the C++11 ABI" ON ) - if( WALBERLA_USE_CPP11_ABI ) - add_flag( CMAKE_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=1" ) - else() - add_flag( CMAKE_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=0" ) - endif() -endif() - if (NOT WIN32) find_package ( Backtrace QUIET ) if ( Backtrace_FOUND ) -- GitLab