aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindPython.cmake
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2017-03-27 17:45:05 +0200
committerRechi <Rechi@users.noreply.github.com>2017-03-27 17:45:05 +0200
commitc1668a8bcdb03fc90bd1f1ba2b4c994c4adb3773 (patch)
treec23b37d384694848b4e63fb6c572ba8415fa47d9 /cmake/modules/FindPython.cmake
parent0912596778b1e14bf3a27664b5f4ab7a937a10fc (diff)
[cmake] fix package names that find_package is equal to find_package_handle_standard_args
Diffstat (limited to 'cmake/modules/FindPython.cmake')
-rw-r--r--cmake/modules/FindPython.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindPython.cmake b/cmake/modules/FindPython.cmake
index 4f1b49abe0..213b17c629 100644
--- a/cmake/modules/FindPython.cmake
+++ b/cmake/modules/FindPython.cmake
@@ -30,7 +30,7 @@ else()
endif()
include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(PYTHON REQUIRED_VARS PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_LIBRARIES)
+find_package_handle_standard_args(Python REQUIRED_VARS PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_LIBRARIES)
if(PYTHON_FOUND)
set(PYTHON_INCLUDE_DIRS ${PYTHON_INCLUDE_DIR})
list(APPEND PYTHON_DEFINITIONS -DHAS_PYTHON=1)