<div dir="ltr"><div><div><div>It appears to be so -- the install directives execute in incident order, at least from within a single CMakeLists.txt file.<br><br></div>The solution ended up being INSTALL(CODE "execute_process(COMMAND ...)"). Feels like a bit of a hack, but the install works on two different platforms -- I'm satisfied for now.<br><br></div>Thanks again for the help!<br><br></div>CR<br><br><br><div><div><div><div><div><span style="font-family:monospace,monospace"></span><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:monospace,monospace"><br></span></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Jul 10, 2017 at 6:25 PM, Michael Ellery <span dir="ltr"><<a href="mailto:mellery451@gmail.com" target="_blank">mellery451@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Jul 10, 2017, at 11:19 AM, Christopher E Robison <<a href="mailto:cerobison@utexas.edu">cerobison@utexas.edu</a>> wrote:<br>
</span></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Can I specify somehow that this install command must be executed after the INSTALL(DIRECTORY ...) command has completed?<br><br>
</span>I *believe* the install directives are executed in the order they are encountered in the processing of CMakeLists files, so putting the custom step as the last item in your top level CMake file might do the trick.<br>
<br>
<br>
</blockquote></div><br></div></div></div></div></div></div></div>