Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
123f1b7f23c638b8ce1bc64b4dd378c5a1134c21
/
.
/
Tests
/
FindPython
/
VirtualEnv
/
VirtualEnvDefault.cmake
blob: 8f56d007c77d88b09edaa8d397a58b896cc37ee4 [
file
] [
log
] [
blame
]
cmake_minimum_required
(
VERSION
3.15
)
find_package
(
Python3
REQUIRED
)
if
(
NOT
Python3_EXECUTABLE
MATCHES
"^${PYTHON3_VIRTUAL_ENV}/.+"
)
message
(
FATAL_ERROR
"Fail to use virtual environment"
)
endif
()