Skip to content

Commit b4e9a21

Browse files
jcfrCopilot
andcommitted
chore: Fix typo in cmake/vtk-sdk-urls.cmake
Change `plaform_tag` to `platform_tag` Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 20a96fe commit b4e9a21

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cmake/vtk-sdk-urls.cmake

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,28 @@ message(STATUS " abi_tag: ${abi_tag}")
1717
# Platform tag
1818
if(LINUX)
1919
if(Python_SOABI MATCHES "x86_64")
20-
set(plaform_tag "manylinux2014_x86_64.manylinux_2_17_x86_64")
20+
set(platform_tag "manylinux2014_x86_64.manylinux_2_17_x86_64")
2121
elseif(Python_SOABI MATCHES "aarch64")
22-
set(plaform_tag "manylinux_2_28_aarch64")
22+
set(platform_tag "manylinux_2_28_aarch64")
2323
endif()
2424
elseif(APPLE)
2525
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
26-
set(plaform_tag "macosx_10_10_x86_64")
26+
set(platform_tag "macosx_10_10_x86_64")
2727
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
28-
set(plaform_tag "macosx_11_0_arm64")
28+
set(platform_tag "macosx_11_0_arm64")
2929
endif()
3030
elseif(WIN32)
31-
set(plaform_tag "win_amd64")
31+
set(platform_tag "win_amd64")
3232
endif()
33-
if(NOT DEFINED plaform_tag)
33+
if(NOT DEFINED platform_tag)
3434
message(
3535
FATAL_ERROR
36-
"Failed to set plaform_tag based of Python_SOABI [${Python_SOABI}]")
36+
"Failed to set platform_tag based of Python_SOABI [${Python_SOABI}]")
3737
endif()
38-
message(STATUS " plaform_tag: ${plaform_tag}")
38+
message(STATUS " platform_tag: ${platform_tag}")
3939

4040
set(archive_name
41-
"vtk-wheel-sdk-${VTK_VERSION}-${python_tag}-${abi_tag}-${plaform_tag}.tar.xz"
41+
"vtk-wheel-sdk-${VTK_VERSION}-${python_tag}-${abi_tag}-${platform_tag}.tar.xz"
4242
)
4343
set(VTK_SDK_BINARY_URL "https://vtk.org/files/wheel-sdks/${archive_name}")
4444
message(STATUS "Setting VTK_SDK_BINARY_URL: ${VTK_SDK_BINARY_URL}")

0 commit comments

Comments
 (0)