arsenm / sanitizers-cmake

CMake modules to help use sanitizers
Other
377 stars 65 forks source link

Fix option type in add_sanitizers check #11

Closed alcroito closed 7 years ago

alcroito commented 7 years ago

Otherwise setting the SANITIZE_ADDRESS option ON does not actually add the relevant flags.

alehaa commented 7 years ago

Sorry, checked this with UBSan together, but not ASan alone ... :/