You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
208 B
8 lines
208 B
5 years ago
|
|
||
|
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()
|