From 199b2e1211e6bd0e58670f2fd9dab5b25f5576f2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 22 Nov 2024 13:28:19 -0500 Subject: [PATCH] Ensure hardlink creation occurs after linking (#625) --- pkg/acs/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/acs/CMakeLists.txt b/pkg/acs/CMakeLists.txt index 65c9a174..23fa31d1 100644 --- a/pkg/acs/CMakeLists.txt +++ b/pkg/acs/CMakeLists.txt @@ -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