Check for python in RAM code and use find_package to determine the python interpreter

This commit is contained in:
2021-07-17 15:25:25 +02:00
parent 2fa12cda60
commit e753504ae3
2 changed files with 11 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ if (VIRTUALENV)
)
message("${BoldGreen}python virtual environment set up!${ColorReset}")
else(VIRTUALENV)
message("${BoldRed}Python virtual environment not set up: virtualenv: command not found!${ColorReset}")
message(FATAL_ERROR "${BoldRed}Python virtual environment not set up: virtualenv: command not found!${ColorReset}")
endif (VIRTUALENV)