Back to Cmake

CMAKE REQUIRED DEFINITIONS

Help/module/include/CMAKE_REQUIRED_DEFINITIONS.rst

4.3.2284 B
Original Source

CMAKE_REQUIRED_DEFINITIONS A :ref:semicolon-separated list <CMake Language Lists> of compiler definitions, each of the form -DFOO or -DFOO=bar. A definition for the name specified by the result variable argument of the check command is also added automatically.