Skip to content

Commit c53d15c

Browse files
fix: Numpy include dir
1 parent 71f25cd commit c53d15c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ endif()
6565
# Look for NumPy headers, except if NUMPY_INCLUDE_DIRS is passed,
6666
# which is required under some circumstances (such as wasm, where
6767
# there is no real python executable)
68-
if(NOT NUMPY_INCLUDE_DIRS)
68+
if(NOT Python_NumPy_INCLUDE_DIR)
6969
find_package(NumPy REQUIRED)
7070
endif()
71-
message(STATUS "Found numpy: ${NUMPY_INCLUDE_DIRS}")
71+
message(STATUS "Found numpy: ${Python_NumPy_INCLUDE_DIR}")
7272

7373
# Build
7474
# =====

0 commit comments

Comments
 (0)