Skip to content

Commit cdec0e6

Browse files
committed
fix: try .py to trigger Windows Pip logic
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 53bb56c commit cdec0e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ include\(\"${CMakeProject_BINARY_DIR}/cmake_install.cmake\")
453453
endif()
454454
# Prepare entry points
455455
foreach(program IN ITEMS cmake ctest cpack ccmake)
456-
configure_file(scripts/entry-point.py.in "${CMAKE_CURRENT_BINARY_DIR}/bin/${program}")
456+
configure_file(scripts/entry-point.py.in "${CMAKE_CURRENT_BINARY_DIR}/bin/${program}.py")
457457
message(STATUS "INSTALLING TO: ${SKBUILD_SCRIPTS_DIR}")
458-
install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/bin/${program}" DESTINATION "${SKBUILD_SCRIPTS_DIR}")
458+
install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/bin/${program}.py" DESTINATION "${SKBUILD_SCRIPTS_DIR}")
459459
endforeach()
460460
endif()

0 commit comments

Comments
 (0)