From d9b2429ff68f1ed0dcc1b861aad9bc33c66f1c61 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 4 Sep 2020 12:05:22 +0200 Subject: [PATCH] quench deprecation messages while compiling TBB itself --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 08cc4af..1d34d02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,6 +86,7 @@ set(tbbmalloc_proxy_src src/tbbmalloc/tbb_function_replacement.cpp) add_library (tbb_interface INTERFACE) +add_definitions(-DTBB_SUPPRESS_DEPRECATED_MESSAGES=1) if (CMAKE_SYSTEM_PROCESSOR MATCHES "(i386|x86_64)") if (NOT APPLE AND NOT MINGW)