CMake: reorder Python detection
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 13 Jan 2020 14:08:44 +0000 (15:08 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 15 Jan 2020 19:41:00 +0000 (20:41 +0100)
commit51962d0874d4e731ff6ed93dbe838d4d4fcec55c
treef36ab39b87a7fd0c68c0b6db2fbf5f0e1a0589c9
parent07bdc1ea16ac4b38847b773619a7a840a8cd5dd7
CMake: reorder Python detection

PythonInterp should be detected before PythonLibs otherwise
CMake exits with the following message:

Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
python/CMakeLists.txt