Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

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

Open
abdes opened this issue Aug 23, 2022 · 0 comments
Open

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

abdes opened this issue Aug 23, 2022 · 0 comments
Labels

Comments

@abdes
Copy link
Collaborator

abdes commented Aug 23, 2022

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 abdes added the bug label Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant