<br>for a given file of the form:<br><br>openssl-0.9.8a.tar.gz<br><br>I call as an example:<br><br> get_filename_component( TAR_EXT openssl-0.9.8a.tar.gz EXT )<br><br>and I get for TAR_EXT<br><br>.9.1.tar.gz<br><br>Which is not quite what I was expecting.<br>
<br>I was expecting .gz and with successive calls I would get  .tar<br><br>Is there a mechanism in CMake for getting the trailing extension?<br clear="all"><br>-- <br>Brian J. Davis<br><br>