Adding _CRT_SECURE_NO_WARNINGS definition using cmake
<p>Is it possible to add <code>_CRT_SECURE_NO_WARNINGS</code> preprocessor definition using cmake?</p>

<pre><code>add_definitions(-CRT_SECURE_NO_WARNINGS)
add_definitions(-_CRT_SECURE_NO_WARNINGS)
add_definitions(_CRT_SECURE_NO_WARNINGS)
</code></pre>

<p>These are what I've tried so far. None of these attempts were successful.</p>