Index: xsimd/test/CMakeLists.txt
===================================================================
--- xsimd.orig/test/CMakeLists.txt	2026-05-22 15:14:59.113555379 +0200
+++ xsimd/test/CMakeLists.txt	2026-05-22 15:15:32.783572261 +0200
@@ -57,23 +57,6 @@
         if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
           set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wshorten-64-to-32")
       endif()
-        # Users may override the c++ standard:
-        if(NOT DEFINED CMAKE_CXX_STANDARD OR "${CMAKE_CXX_STANDARD}" STREQUAL "")
-            if (ENABLE_XTL_COMPLEX)
-                CHECK_CXX_COMPILER_FLAG("-std=c++17" HAS_CPP17_FLAG)
-                if (NOT HAS_CPP17_FLAG)
-                    message(FATAL_ERROR "Unsupported compiler -- xsimd requires C++17 support when xtl complex support is enabled")
-                endif()
-                set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
-            else()
-                CHECK_CXX_COMPILER_FLAG("-std=c++14" HAS_CPP14_FLAG)
-                if (NOT HAS_CPP14_FLAG)
-                    message(FATAL_ERROR "Unsupported compiler -- xsimd requires C++14 support!")
-                else()
-                    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
-                endif()
-            endif()
-        endif()
 
         if (NOT CROSS_COMPILE_ARM)
             set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fPIC")
