mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-30 16:57:29 -07:00
12 lines
592 B
Diff
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")
|