diff options
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("") |