未验证 提交 4a4a32ee 编写于 作者: Z zhangbo9674 提交者: GitHub

fix bug (#55028)

上级 a20051cd
...@@ -35,6 +35,10 @@ endfunction() ...@@ -35,6 +35,10 @@ endfunction()
if(WITH_SHARED_IR) if(WITH_SHARED_IR)
add_definitions(-DIR_DLL_EXPORT) add_definitions(-DIR_DLL_EXPORT)
else()
if(WIN32)
add_definitions(-DIR_API)
endif()
endif() endif()
add_subdirectory(core) add_subdirectory(core)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册