hi, <div>I am using </div><div>(INSTALL SCRIPT foo)</div><div><br></div><div>inside foo how can I check that generator type is RPM or not ?</div><div><br></div><div>I tried with this code </div><div><br></div><div><div>if(CPACK_GENERATOR MATCHES &quot;RPM&quot;)</div>
<div>EXECUTE_PROCESS(COMMAND echo   ${CMAKE_INSTALL_PREFIX})</div><div>endif(CPACK_GENERATOR MATCHES &quot;RPM&quot;)</div></div><div><br></div><div>But this code doesn&#39;t work. </div><div><br></div><div><br></div><div>
<br clear="all">regards<div>Vivek Goel</div><br>
</div>