diff options
| author | [email protected] <[email protected]> | 2018-03-14 15:23:14 +0100 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2018-03-14 15:23:14 +0100 |
| commit | 4c0925067a93d6b011eda47f2204a926a76d37ed (patch) | |
| tree | 93e43d2de3325db0f217824ad15add045851ef99 /CMakeLists.txt | |
| parent | 82491fcf6c70288652449f4ddeb8bdbe9628dd81 (diff) | |
| download | raylib-4c0925067a93d6b011eda47f2204a926a76d37ed.tar.gz raylib-4c0925067a93d6b011eda47f2204a926a76d37ed.zip | |
Add message warning for msan
Diffstat (limited to 'CMakeLists.txt')
| -rwxr-xr-x | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 84977abb..6d5994f4 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,10 @@ if (ENABLE_MSAN) add_if_flag_works(-fsanitize=memory CMAKE_C_FLAGS CMAKE_LINKER_FLAGS) endif() +if (ENABLE_MSAN AND ENABLE_ASAN) + MESSAGE(WARNING "Compiling with both AddressSanitizer and MemorySanitizer is not recommended") +endif() + add_subdirectory(src release) if (${BUILD_EXAMPLES}) |
