make install Mac arm64

What is current best practice for avoiding warnings about invalidation of code signatures due to install_name_tool modification of binaries when copying from build to install? I’ve found advice to add custom post build commands to codesign. I saw something within the past couple years about some special Xcode attribute at Code Signing macOs application. I cloned paraview and grepped for codesign hoping I might get some guidance there but got no hits. Any advice would be appreciated!