We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4050d94 commit f2cca24Copy full SHA for f2cca24
CMakeLists.txt
@@ -93,13 +93,11 @@ target_include_directories(xsimd INTERFACE
93
OPTION(ENABLE_XTL_COMPLEX "enables support for xcomplex defined in xtl" OFF)
94
OPTION(BUILD_TESTS "xsimd test suite" OFF)
95
96
+target_compile_features(xsimd INTERFACE cxx_std_14)
97
if(ENABLE_XTL_COMPLEX)
98
find_package(xtl 0.8.0 REQUIRED)
- target_compile_features(xsimd INTERFACE cxx_std_14)
99
target_compile_definitions(xsimd INTERFACE XSIMD_ENABLE_XTL_COMPLEX=1)
100
target_link_libraries(xsimd INTERFACE xtl)
101
-else()
102
- target_compile_features(xsimd INTERFACE cxx_std_11)
103
endif()
104
105
if(BUILD_TESTS)
0 commit comments