TestCXXAcceptsFlagΒΆ

Deprecated since version 3.0: See CheckCXXCompilerFlag.

Check if the CXX compiler accepts a flag.

CHECK_CXX_ACCEPTS_FLAG(<flags> <variable>)
<flags>

the flags to try

<variable>

variable to store the result