CDRIVER-2083 use target_compile_definitions
add_definitions() has global effect, so isn't good to include in a .cmake file. This commit instead publishes the definitions in a variable and lets consumers set it on a target the same way they set library/include paths. libmongoc will need a corresponding update.
parent
3751fb36
Please register or sign in to comment