From 14174ba38f6de387ccd4f16a2388db8ab5d4b9da Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 2 Aug 2020 06:11:40 +0300 Subject: [PATCH] Fix warning in libunwind --- contrib/libunwind-cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/libunwind-cmake/CMakeLists.txt b/contrib/libunwind-cmake/CMakeLists.txt index 9dbbaf23322..cbfc79ed426 100644 --- a/contrib/libunwind-cmake/CMakeLists.txt +++ b/contrib/libunwind-cmake/CMakeLists.txt @@ -54,7 +54,7 @@ endif () # Example: DwarfInstructions.hpp: register unsigned long long x16 __asm("x16") = cfa; check_cxx_compiler_flag(-Wregister HAVE_WARNING_REGISTER) if (HAVE_WARNING_REGISTER) - target_compile_options(unwind PRIVATE "$<$,CXX>:-Wno-register>") + target_compile_options(unwind PRIVATE "$<$,CXX>:-Wno-register>") endif () install(