diff --git a/tools/pybind11Common.cmake b/tools/pybind11Common.cmake index 0af50d5206..aef0db5ea3 100644 --- a/tools/pybind11Common.cmake +++ b/tools/pybind11Common.cmake @@ -206,8 +206,8 @@ elseif( set(PYTHON_EXECUTABLE "${Python_EXECUTABLE}") set(PYTHON_INCLUDE_DIR "${Python_INCLUDE_DIR}") set(Python_INCLUDE_DIRS "${Python_INCLUDE_DIRS}") - set(PYTHON_LIBRARY "${Python_LIRARY}") - set(PYTHON_LIBRARIES "${Python_LIRARIES}") + set(PYTHON_LIBRARY "${Python_LIBRARY}") + set(PYTHON_LIBRARIES "${Python_LIBRARIES}") set(PYTHON_VERSION "${Python_VERSION}") set(PYTHON_VERSION_STRING "${Python_VERSION_STRING}") set(PYTHON_VERSION_MAJOR "${Python_VERSION_MAJOR}")