提交 61385f9d 编写于 作者: O Oraoto 提交者: Nicky Chan

Windows: link against python (#484)

上级 602161f7
......@@ -42,6 +42,9 @@ if (APPLE)
endif()
if (MSVC)
## On Windows, we still link againt python library
target_link_libraries(core PRIVATE python)
## Name the libraries as *.pyd
set_target_properties(core PROPERTIES PREFIX "" SUFFIX ".pyd")
add_custom_command(TARGET core POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册