blob: 89f27d8da2bc095f25da44507ea0dc18e5046b54 (
plain)
1
2
3
4
5
6
7
|
set (Python3_FIND_VIRTUALENV STANDARD)
find_package (Python3 REQUIRED)
if (Python3_EXECUTABLE MATCHES "^${PYTHON3_VIRTUAL_ENV}/.+")
message (FATAL_ERROR "Python3 virtual env unexpectedly found.")
endif()
|