cryptopp-cmake
cryptopp-cmake copied to clipboard
cryptopp/CMakeLists.txt still uses -D to add to compiler definitions
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
.