Find Interpreter Component for Python3

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

View File

@ -59,7 +59,7 @@ endif()
# Pip
################################################################################
find_package(Python3)
find_package(Python3 COMPONENTS Interpreter)
if (Python3_Interpreter_FOUND)
set(WITH_DOCUMENTATION ON)
else()