diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-17 12:10:45 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-18 13:11:06 +0300 |
commit | 34ee9ab97c0cf629987f8f3f72b529ca7e73e027 (patch) | |
tree | 21849302630ba5275c7c41cf4d3eea70801ec06a /build_files/cmake/platform/platform_apple.cmake | |
parent | f3b7e99c04bef3d4070cef3cae92ee7b1d3d11ef (diff) |
CMake: remove PYTHON_NUMPY_INCLUDE_DIRS as a cache variable on macOS/Windows.
It's in a fixed location on those platforms, and having it as a cache variable
just means things break when we upgrade to a new Python version.
Diffstat (limited to 'build_files/cmake/platform/platform_apple.cmake')
-rw-r--r-- | build_files/cmake/platform/platform_apple.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake index 8562b8536a2..88ae9d4a6ef 100644 --- a/build_files/cmake/platform/platform_apple.cmake +++ b/build_files/cmake/platform/platform_apple.cmake @@ -114,7 +114,7 @@ if(WITH_PYTHON) set(PYTHON_LIBRARIES "${PYTHON_LIBRARY}") # needed for Audaspace, numpy is installed into python site-packages - set(NUMPY_INCLUDE_DIRS "${PYTHON_LIBPATH}/site-packages/numpy/core/include") + set(PYTHON_NUMPY_INCLUDE_DIRS "${PYTHON_LIBPATH}/site-packages/numpy/core/include") if(NOT EXISTS "${PYTHON_EXECUTABLE}") message(FATAL_ERROR "Python executable missing: ${PYTHON_EXECUTABLE}") |