<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi All,<br>I have a problem with cache variables in cmake.<br><br>I want to check the combiler for a certain flag -C99 flag. So, I used the following statement<br>CHECK_C_COMPILER_FLAG("-C99" FLAG_OK)<br><br>The problem is that we I ran cmake for the first time it said that c99 is not found and set the FLAG_OK variable in CMakeCache.txt to 0.<br><br>Now, I fixed the problem =in the compiler to make it support -C99. But cmake doesnot check the flag any more and just keep saying not found. This is becuase the FLAG_OK is already equals
to 0 in cache file.<br><br>Is there any way to delete the cahce variable. or force cmake to check for the flag every time I run it?<br><br>Thanks for your help<br>Mina<br><br></td></tr></tbody></table><br></div></div>
</div><br></body></html>