noloader / cryptopp-cmake

CMake files for Crypto++ project
BSD 3-Clause "New" or "Revised" License
92 stars 68 forks source link

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

Open abdes opened 2 years ago

abdes commented 2 years ago

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.