From 926556b054820724cd871ffa73b52b09a0b1ee65 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Thu, 2 Jul 2026 16:40:27 -0400 Subject: [PATCH] Small fix for tests --- hatch_cpp/tests/test_project_cmake/CMakeLists.txt | 2 +- hatch_cpp/tests/test_project_cmake_vcpkg/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hatch_cpp/tests/test_project_cmake/CMakeLists.txt b/hatch_cpp/tests/test_project_cmake/CMakeLists.txt index d27eff3..e533461 100644 --- a/hatch_cpp/tests/test_project_cmake/CMakeLists.txt +++ b/hatch_cpp/tests/test_project_cmake/CMakeLists.txt @@ -70,7 +70,7 @@ else() endif() -find_package(Python ${CSP_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development.Module) +find_package(Python ${HATCH_CPP_TEST_PROJECT_BASIC_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development.Module) include_directories("${CMAKE_SOURCE_DIR}/cpp") diff --git a/hatch_cpp/tests/test_project_cmake_vcpkg/CMakeLists.txt b/hatch_cpp/tests/test_project_cmake_vcpkg/CMakeLists.txt index d27eff3..e533461 100644 --- a/hatch_cpp/tests/test_project_cmake_vcpkg/CMakeLists.txt +++ b/hatch_cpp/tests/test_project_cmake_vcpkg/CMakeLists.txt @@ -70,7 +70,7 @@ else() endif() -find_package(Python ${CSP_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development.Module) +find_package(Python ${HATCH_CPP_TEST_PROJECT_BASIC_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development.Module) include_directories("${CMAKE_SOURCE_DIR}/cpp")