diff options
author | jackpoz <giacomopoz@gmail.com> | 2014-09-20 21:19:00 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2014-09-20 22:35:13 +0200 |
commit | a209fc30ffa0f47f98a800a50621a8f4a2f280e7 (patch) | |
tree | 9ea150233f2da03368bb503eb225d8aa3eb6e34a /cmake | |
parent | 72d08a146f3ca8369f173b9293d564673155491a (diff) |
Core/Misc: Avoid Helgrind reporting libstdc++ false positive race conditions
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/showoptions.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake index 2d21136d661..9b2c849ec39 100644 --- a/cmake/showoptions.cmake +++ b/cmake/showoptions.cmake @@ -93,5 +93,13 @@ if ( NOJEM ) message(" *** DO NOT DISABLE IT UNLESS YOU KNOW WHAT YOU'RE DOING!") endif() +if ( HELGRIND ) + message("") + message(" *** HELGRIND - WARNING!") + message(" *** Please specify the valgrind include directory in VALGRIND_INCLUDE_DIR option if you get build errors") + message(" *** Please note that this is for DEBUGGING WITH HELGRIND only!") + add_definitions(-DHELGRIND) +endif() + message("") |