summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/VirtualEnv
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-10-01 15:47:37 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-10-01 15:51:16 (GMT)
commit5537ccd814700edb529e5e79137601bb2987c892 (patch)
treef5f8b3600b641516f0b4d4263b1f5455727e0e62 /Tests/FindPython/VirtualEnv
parent0519db374c79f654b55de396943cafcf36db695f (diff)
downloadCMake-5537ccd814700edb529e5e79137601bb2987c892.zip
CMake-5537ccd814700edb529e5e79137601bb2987c892.tar.gz
CMake-5537ccd814700edb529e5e79137601bb2987c892.tar.bz2
FindPython: Tests optimizations
* Use 'project(... LANGUAGES NONE)' when possible * enhance error messages wording
Diffstat (limited to 'Tests/FindPython/VirtualEnv')
-rw-r--r--Tests/FindPython/VirtualEnv/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindPython/VirtualEnv/CMakeLists.txt b/Tests/FindPython/VirtualEnv/CMakeLists.txt
index 045a3f2..dae3282 100644
--- a/Tests/FindPython/VirtualEnv/CMakeLists.txt
+++ b/Tests/FindPython/VirtualEnv/CMakeLists.txt
@@ -6,7 +6,7 @@ include(CTest)
find_package(Python3 REQUIRED COMPONENTS Interpreter)
if (NOT Python3_FOUND)
- message (FATAL_ERROR "Fail to found Python 3")
+ message (FATAL_ERROR "Failed to find Python 3")
endif()
set (Python3_VIRTUAL_ENV "${CMAKE_CURRENT_BINARY_DIR}/py3venv")