[CMake] A question about cache variables

2010-10-26 Thread mina adel
Hi All, I have a problem with cache variables in cmake. I want to check the combiler for a certain flag -C99 flag. So, I used the following statement CHECK_C_COMPILER_FLAG(-C99 FLAG_OK) The problem is that we I ran cmake for the first time it said that c99 is not found and set the FLAG_OK

[CMake] A question about cache variables

2010-10-26 Thread mina adel
Hi All, I have a problem with cache variables in cmake. I want to check the combiler for a certain flag -C99 flag. So, I used the following statement CHECK_C_COMPILER_FLAG(-C99 FLAG_OK) The problem is that we I ran cmake for the first time it said that c99 is not found and set the FLAG_OK

Re: [CMake] A question about cache variables

2010-10-26 Thread Michael Hertling
On 10/26/2010 08:47 PM, mina adel wrote: Hi All, I have a problem with cache variables in cmake. I want to check the combiler for a certain flag -C99 flag. So, I used the following statement CHECK_C_COMPILER_FLAG(-C99 FLAG_OK) The problem is that we I ran cmake for the first time it