EasyMocap/library/pymatch/python/CMakeLists.txt
2023-07-10 22:10:55 +08:00

11 lines
323 B
CMake

set(PYMODULES "pymatchlr")
foreach(module ${PYMODULES})
pybind11_add_module("${module}" "${module}.cpp")
target_link_libraries("${module}"
PRIVATE pybind11::module
PUBLIC ${OTHER_LIBS})
target_include_directories("${module}"
PUBLIC ${PUBLIC_INCLUDE})
endforeach(module ${PYMODULES})