Fixed Python.h not found error (#1054)

This commit is contained in:
matlabbe
2023-06-17 15:46:44 -07:00
parent 36c0054070
commit 33fb2f75ad

View File

@@ -205,8 +205,8 @@ IF(TORCH_FOUND)
ENDIF(TORCH_FOUND)
IF(WITH_PYTHON AND Python3_FOUND)
SET(LIBRARIES
${LIBRARIES}
SET(PUBLIC_LIBRARIES
${PUBLIC_LIBRARIES}
Python3::Python
Python3::NumPy
)