Skip to content

Commit 53bb56c

Browse files
committed
fix: move scripts install up a level
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent ea44dcb commit 53bb56c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

CMakeLists.txt

+7-7
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,11 @@ include\(\"${CMakeProject_BINARY_DIR}/cmake_install.cmake\")
450450
install(${type} ${file} DESTINATION "${relative_directory}" ${_permissions})
451451
endforeach()
452452

453-
# Prepare entry points
454-
foreach(program IN ITEMS cmake ctest cpack ccmake)
455-
configure_file(scripts/entry-point.py.in "${CMAKE_CURRENT_BINARY_DIR}/bin/${program}")
456-
message(STATUS "INSTALLING TO: ${SKBUILD_SCRIPTS_DIR}")
457-
install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/bin/${program}" DESTINATION "${SKBUILD_SCRIPTS_DIR}")
458-
endforeach()
459-
endif()
453+
endif()
454+
# Prepare entry points
455+
foreach(program IN ITEMS cmake ctest cpack ccmake)
456+
configure_file(scripts/entry-point.py.in "${CMAKE_CURRENT_BINARY_DIR}/bin/${program}")
457+
message(STATUS "INSTALLING TO: ${SKBUILD_SCRIPTS_DIR}")
458+
install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/bin/${program}" DESTINATION "${SKBUILD_SCRIPTS_DIR}")
459+
endforeach()
460460
endif()

0 commit comments

Comments
 (0)