diff --git a/ge/common/CMakeLists.txt b/ge/common/CMakeLists.txt index bb08570a..1598ffd5 100755 --- a/ge/common/CMakeLists.txt +++ b/ge/common/CMakeLists.txt @@ -73,6 +73,7 @@ target_compile_definitions(ge_common PRIVATE FMK_SUPPORT_DUMP OS_CENTOS google=ascend_private + $<$:ONLY_COMPILE_OPEN_SRC> ) target_compile_options(ge_common PRIVATE