Skip to content

Commit 0d93ea0

Browse files
authored
Merge pull request #114 from python-project-templates/tkp/hf2
Small fix for tests
2 parents c26aaca + 926556b commit 0d93ea0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hatch_cpp/tests/test_project_cmake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ else()
7070
endif()
7171

7272

73-
find_package(Python ${CSP_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development.Module)
73+
find_package(Python ${HATCH_CPP_TEST_PROJECT_BASIC_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development.Module)
7474

7575
include_directories("${CMAKE_SOURCE_DIR}/cpp")
7676

hatch_cpp/tests/test_project_cmake_vcpkg/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ else()
7070
endif()
7171

7272

73-
find_package(Python ${CSP_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development.Module)
73+
find_package(Python ${HATCH_CPP_TEST_PROJECT_BASIC_PYTHON_VERSION} EXACT REQUIRED COMPONENTS Interpreter Development.Module)
7474

7575
include_directories("${CMAKE_SOURCE_DIR}/cpp")
7676

0 commit comments

Comments
 (0)