diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2016-02-14 13:24:47 +0000 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2016-02-14 13:26:05 +0000 |
commit | ab995d50b71138256a6697b9b997672f66bf7cd2 (patch) | |
tree | 2bf8b72f5536b6dcb8148f2e5b6699a89b539aa6 /configuration | |
parent | 3afa85838599cbd10fa259a5d66473d18116ccea (diff) | |
download | google-fruit-ab995d50b71138256a6697b9b997672f66bf7cd2.tar.gz |
Add a cast to void when checking for FRUIT_HAS_CXA_DEMANGLE, otherwise with -Werror this check won't compile and we would incorrectly detect FRUIT_HAS_CXA_DEMANGLE=0 aven if it's available.
Diffstat (limited to 'configuration')
-rw-r--r-- | configuration/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configuration/CMakeLists.txt b/configuration/CMakeLists.txt index 4e5b9cc..2c4d09f 100644 --- a/configuration/CMakeLists.txt +++ b/configuration/CMakeLists.txt @@ -77,6 +77,7 @@ CHECK_CXX_SOURCE_COMPILES(" #include <cxxabi.h> int main() { auto* p = abi::__cxa_demangle; + (void) p; return 0; } " |