diff --git a/CMakeLists.txt b/CMakeLists.txt index 9373ca3e..3ce6222c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,13 +139,7 @@ macro(add_gtensor_library DEVICE) $ $ ) - if ("${GTENSOR_DEVICE}" STREQUAL "sycl") - # Note: SYCL 2020 standard requires C++17, and gtensor takes advantage of this - # in some SYCL backend specific code - target_compile_features(gtensor_${DEVICE} INTERFACE cxx_std_17) - else() - target_compile_features(gtensor_${DEVICE} INTERFACE cxx_std_14) - endif() + target_compile_features(gtensor_${DEVICE} INTERFACE cxx_std_17) list(APPEND GTENSOR_TARGETS gtensor_${DEVICE})