diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index b8599fdbf..8d76a7e15 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -555,11 +555,6 @@ macro(process_options) if(${EIGEN3_FOUND}) set(ENABLE_EIGEN True) - # Prevent warning as error for ARM NEON PacketMath - if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64") - add_compile_options(-Wno-error=class-memaccess) - endif() - add_definitions(-DHAVE_EIGEN3) add_definitions(-DEIGEN_MPL2_ONLY) if(NOT ${NS3_FORCE_LOCAL_DEPENDENCIES})