build: Remove -Wno-error=class-memaccess for ARM builds with eigen
Option is not supported by clang, and is better handled case-by-case
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user