cryptopp-cmake icon indicating copy to clipboard operation
cryptopp-cmake copied to clipboard

cryptopp/CMakeLists.txt still uses -D to add to compiler definitions

Open abdes opened this issue 2 years ago • 0 comments

From the cmake documentation:

The COMPILE_DEFINITIONS property may be set to a semicolon-separated list of preprocessor definitions using the syntax VAR or VAR=value. Function-style definitions are not supported. CMake will automatically escape the value correctly for the native build system (note that CMake language syntax may require escapes to specify some values).

The variable VAR should not have a prefix -D.

abdes avatar Aug 23 '22 13:08 abdes