W3cubDocs

/CMake 3.7

TestCXXAcceptsFlag

Deprecated. See CheckCXXCompilerFlag.

Check if the CXX compiler accepts a flag.

CHECK_CXX_ACCEPTS_FLAG(<flags> <variable>)
the flags to try
variable to store the result

© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.7/module/TestCXXAcceptsFlag.html