SSM-VLN icon indicating copy to clipboard operation
SSM-VLN copied to clipboard

The solution when cannot find numpy package.

Open Qingrenn opened this issue 2 years ago • 0 comments

This project doesnt provide FindNumPy.cmake. While building it, I meet the problem that I can not find numpy package.

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")
find_package(NumPy REQUIRED)

Here are my solution:

  1. Put FindNumPy.cmake into ${PROJECT_SOURCE_DIR}/cmake.
  2. Modify NUMPY_INCLUDES into PYTHON_NUMPY_INCLUDE_DIR .

Qingrenn avatar Nov 30 '22 03:11 Qingrenn