diff --git a/csrc/CMakeLists.txt b/csrc/CMakeLists.txt index 29c654c0..542e87f2 100644 --- a/csrc/CMakeLists.txt +++ b/csrc/CMakeLists.txt @@ -81,7 +81,10 @@ if (BUILD_OPEN_PROJECT) target_include_directories(opapi PRIVATE $ $ + # For CANN 8.3 $ + # For CANN 8.5 and later + $ ) target_compile_options(opapi PRIVATE -Werror=format