mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
7 lines
165 B
CMake
7 lines
165 B
CMake
|
|
find_package (Python3 REQUIRED)
|
|
|
|
if (NOT Python3_EXECUTABLE MATCHES "^${PYTHON3_VIRTUAL_ENV}/.+")
|
|
message (FATAL_ERROR "Fail to use virtual environment")
|
|
endif()
|