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 71f25cd commit c53d15cCopy full SHA for c53d15c
CMakeLists.txt
@@ -65,10 +65,10 @@ endif()
65
# Look for NumPy headers, except if NUMPY_INCLUDE_DIRS is passed,
66
# which is required under some circumstances (such as wasm, where
67
# there is no real python executable)
68
-if(NOT NUMPY_INCLUDE_DIRS)
+if(NOT Python_NumPy_INCLUDE_DIR)
69
find_package(NumPy REQUIRED)
70
endif()
71
-message(STATUS "Found numpy: ${NUMPY_INCLUDE_DIRS}")
+message(STATUS "Found numpy: ${Python_NumPy_INCLUDE_DIR}")
72
73
# Build
74
# =====
0 commit comments