We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab83001 commit 89114c3Copy full SHA for 89114c3
cmake/TaichiCore.cmake
@@ -467,7 +467,8 @@ if(NOT TI_EMSCRIPTENED)
467
# Cannot compile Python source code with Android, but TI_EXPORT_CORE should be set and
468
# Android should only use the isolated library ignoring those source code.
469
if (NOT ANDROID)
470
- pybind11_add_module(${CORE_WITH_PYBIND_LIBRARY_NAME} ${TAICHI_PYBIND_SOURCE})
+ #pybind11_add_module(${CORE_WITH_PYBIND_LIBRARY_NAME} ${TAICHI_PYBIND_SOURCE})
471
+ add_library(${CORE_WITH_PYBIND_LIBRARY_NAME} SHARED ${TAICHI_PYBIND_SOURCE})
472
else()
473
add_library(${CORE_WITH_PYBIND_LIBRARY_NAME} SHARED)
474
endif ()
0 commit comments