Skip to content

Commit

Permalink
Ensure hardlink creation occurs after linking (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhunkeler authored Nov 22, 2024
1 parent 5dd6d09 commit 199b2e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/acs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ install(TARGETS ${PROJECT_NAME}
# Handle acscteforwardmodel.e link creation
add_custom_target(${PROJECT_NAME}forwardmodel ALL
COMMAND ${CMAKE_COMMAND} -E create_hardlink ${PROJECT_NAME}.e ${PROJECT_NAME}forwardmodel.e
DEPENDS ${PROJECT_NAME}
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}forwardmodel.e
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
Expand Down

0 comments on commit 199b2e1

Please sign in to comment.