SSM-VLN
SSM-VLN copied to clipboard
The solution when cannot find numpy package.
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:
- Put
FindNumPy.cmake
into${PROJECT_SOURCE_DIR}/cmake
. - Modify
NUMPY_INCLUDES
intoPYTHON_NUMPY_INCLUDE_DIR
.