Check for Python3_Interpreter_FOUND instead of Python3_FOUND
Co-Authored-By: Markus Pilman <markus@pilman.ch>
This commit is contained in:
parent
ed1458c834
commit
b5f63f3c88
|
@ -60,7 +60,7 @@ endif()
|
|||
################################################################################
|
||||
|
||||
find_package(Python3)
|
||||
if (Python3_FOUND)
|
||||
if (Python3_Interpreter_FOUND)
|
||||
set(WITH_DOCUMENTATION ON)
|
||||
else()
|
||||
set(WITH_DOCUMENTATION OFF)
|
||||
|
|
Loading…
Reference in New Issue