We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 030b0b9 commit 2e8e974Copy full SHA for 2e8e974
test/CMakeLists.txt
@@ -33,7 +33,9 @@ string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
33
34
include(set_compiler_flag.cmake)
35
36
-if(CPP20)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
37
+
38
+#[[if(CPP20)
39
# User requested C++20, but compiler might not oblige.
40
set_compiler_flag(
41
_cxx_std_flag CXX
@@ -55,6 +57,7 @@ endif()
55
57
if(NOT _cxx_std_flag)
56
58
message(FATAL_ERROR "xtensor-blas needs a C++17-compliant compiler.")
59
endif()
60
+]]
61
62
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR (CMAKE_CXX_COMPILER_ID MATCHES "Intel" AND NOT WIN32))
63
CHECK_CXX_COMPILER_FLAG(-march=native arch_native_supported)
0 commit comments