|
|
@@ -105,6 +105,9 @@ endmacro()
|
|
|
# Define to allow compile features to be automatically determined
|
|
|
macro(cmake_record_cxx_compile_features)
|
|
|
set(_result 0)
|
|
|
+ if(_result EQUAL 0 AND DEFINED CMAKE_CXX26_STANDARD_COMPILE_OPTION)
|
|
|
+ _has_compiler_features_cxx(26)
|
|
|
+ endif()
|
|
|
if(_result EQUAL 0 AND DEFINED CMAKE_CXX23_STANDARD_COMPILE_OPTION)
|
|
|
_has_compiler_features_cxx(23)
|
|
|
endif()
|
|
|
@@ -142,6 +145,9 @@ endmacro()
|
|
|
|
|
|
macro(cmake_record_cuda_compile_features)
|
|
|
set(_result 0)
|
|
|
+ if(_result EQUAL 0 AND DEFINED CMAKE_CUDA26_STANDARD_COMPILE_OPTION)
|
|
|
+ _has_compiler_features_cuda(26)
|
|
|
+ endif()
|
|
|
if(_result EQUAL 0 AND DEFINED CMAKE_CUDA23_STANDARD_COMPILE_OPTION)
|
|
|
_has_compiler_features_cuda(23)
|
|
|
endif()
|
|
|
@@ -179,6 +185,9 @@ endmacro()
|
|
|
|
|
|
macro(cmake_record_hip_compile_features)
|
|
|
set(_result 0)
|
|
|
+ if(_result EQUAL 0 AND DEFINED CMAKE_HIP26_STANDARD_COMPILE_OPTION)
|
|
|
+ _has_compiler_features_hip(26)
|
|
|
+ endif()
|
|
|
if(_result EQUAL 0 AND DEFINED CMAKE_HIP23_STANDARD_COMPILE_OPTION)
|
|
|
_has_compiler_features_hip(23)
|
|
|
endif()
|