From a19e742fef6a9556ef96e2caca4d3cf7fcf85675 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 22 Nov 2024 11:53:20 -0500 Subject: [PATCH] Ensure hardlink creation occurs after linking --- 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