[CMake] TRY_COMPILE and CMAKE_C_FLAGS

Filipe Sousa filipe at ipb.pt
Sat Oct 21 12:34:28 EDT 2006


Gregor Jasny wrote:
> Hi,
> 
> I want to test if the current GNU compiler accept the -fopenmp flag.
INCLUDE(CheckCCompilerFlag)
CHECK_C_COMPILER_FLAG(-fopenmp HAVE_OPENMP)

-- 
Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20061021/cf4bc96a/signature.pgp


More information about the CMake mailing list