diff --git a/modules/python/python2/CMakeLists.txt b/modules/python/python2/CMakeLists.txt index 4881cb5edf..01a3b474d0 100644 --- a/modules/python/python2/CMakeLists.txt +++ b/modules/python/python2/CMakeLists.txt @@ -18,7 +18,7 @@ include(../common.cmake) unset(MODULE_NAME) unset(PYTHON_INCLUDE_PATH) -unset(PYTHON_NUMPY_INCLUDE_PATH) +unset(PYTHON_NUMPY_INCLUDE_DIRS) unset(PYTHON_EXECUTABLE) unset(PYTHON_DEBUG_LIBRARIES) unset(PYTHON_LIBRARIES) diff --git a/modules/python/python3/CMakeLists.txt b/modules/python/python3/CMakeLists.txt index 3f66492050..14672d3c75 100644 --- a/modules/python/python3/CMakeLists.txt +++ b/modules/python/python3/CMakeLists.txt @@ -18,7 +18,7 @@ include(../common.cmake) unset(MODULE_NAME) unset(PYTHON_INCLUDE_PATH) -unset(PYTHON_NUMPY_INCLUDE_PATH) +unset(PYTHON_NUMPY_INCLUDE_DIRS) unset(PYTHON_EXECUTABLE) unset(PYTHON_DEBUG_LIBRARIES) unset(PYTHON_LIBRARIES)