gentoo/dev-cpp/xsimd/files/xsimd-14.0.0-c++17.patch
Alfredo Tupone e5fb753cef
dev-cpp/xsimd: add 14.0.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-12-25 17:41:25 +01:00

12 lines
592 B
Diff

--- a/test/CMakeLists.txt 2025-12-25 17:05:59.804507367 +0100
+++ b/test/CMakeLists.txt 2025-12-25 17:08:47.228585458 +0100
@@ -53,7 +53,7 @@
endif()
# Users may override the c++ standard:
if(NOT DEFINED CMAKE_CXX_STANDARD OR "${CMAKE_CXX_STANDARD}" STREQUAL "")
- if (ENABLE_XTL_COMPLEX)
+ if (TRUE)
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")