未验证 提交 2f283997 编写于 作者: S Sing_chan 提交者: GitHub

block kernel_signature in windows (#42033)

上级 83d6e315
...@@ -181,10 +181,9 @@ if(WITH_PYTHON) ...@@ -181,10 +181,9 @@ if(WITH_PYTHON)
target_link_libraries(op_function_generator ${OP_FUNCTION_GENERETOR_DEPS}) target_link_libraries(op_function_generator ${OP_FUNCTION_GENERETOR_DEPS})
add_executable(eager_op_function_generator eager_op_function_generator.cc) add_executable(eager_op_function_generator eager_op_function_generator.cc)
target_link_libraries(eager_op_function_generator ${OP_FUNCTION_GENERETOR_DEPS}) target_link_libraries(eager_op_function_generator ${OP_FUNCTION_GENERETOR_DEPS})
add_executable(kernel_signature_generator kernel_signature_generator.cc) if(NOT WIN32)
target_link_libraries(kernel_signature_generator ${OP_FUNCTION_GENERETOR_DEPS}) add_executable(kernel_signature_generator kernel_signature_generator.cc)
if(WIN32) target_link_libraries(kernel_signature_generator ${OP_FUNCTION_GENERETOR_DEPS})
target_link_libraries(kernel_signature_generator shlwapi.lib)
endif() endif()
get_property (os_dependency_modules GLOBAL PROPERTY OS_DEPENDENCY_MODULES) get_property (os_dependency_modules GLOBAL PROPERTY OS_DEPENDENCY_MODULES)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册