Check for Python3_Interpreter_FOUND instead of Python3_FOUND

Co-Authored-By: Markus Pilman <markus@pilman.ch>
This commit is contained in:
Saurabh Chaturvedi 2020-02-21 12:17:16 +05:30 committed by GitHub
parent ed1458c834
commit b5f63f3c88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ endif()
################################################################################
find_package(Python3)
if (Python3_FOUND)
if (Python3_Interpreter_FOUND)
set(WITH_DOCUMENTATION ON)
else()
set(WITH_DOCUMENTATION OFF)