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")