Hello all<br>I&#39;m new cmake user and need to write a module for test if a pacakage exists, In my case i need to check If Ice (Internet Communication Engine |&nbsp; <a href="http://www.zeroc.com">http://www.zeroc.com</a>) is installed, this package is a set of shared libraries,&nbsp; include files, and compilers for slice language.
<br><br>I need to be able of check if&nbsp; the slice compiler executable exists, and check the version with the -v argument of the compiler <br><br>Here is a pseudo code of what i trying to do<br><br>ICE_VERSION=&quot;3.2.2&quot;
<br>ICE_FOUND=&quot;False&quot;<br>#Search the slice2cpp compiler<br><br>SLICE2CPP = SEARCH_EXECUTABLE(slice2cpp /usr/bin)<br>if(SLICE2CPP)<br>&nbsp;&nbsp; if(SLICE2CPP&nbsp; -v == $ICE_VERSION)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ICE_FOUND=&quot;True&quot;<br>&nbsp;&nbsp; endif
<br>endif<br><br>Any ideas for this task<br><br><br>