diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 04df162f07..04b59acd28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,10 @@ else() set(DEBUG 0) endif() +if(DEFINED $ENV{VALGRIND_CHECK}) + add_definitions(-DEXITFREE) +endif() + # Modules used by platform auto-detection include(CheckLibraryExists) |