From 9f087eefa94459f5051f7136437b74aef4c52f2d Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Sat, 12 Nov 2016 11:49:31 -0800 Subject: [PATCH] be more forgiving of out-of-date profiles --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1dc3685..0b16b2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ if(PROFILE_GENERATE) set(CMAKE_CXX_FLAGS "-fprofile-generate ${CMAKE_CXX_FLAGS}") endif() if(PROFILE_USE) - set(CMAKE_CXX_FLAGS "-fprofile-use -fprofile-correction ${CMAKE_CXX_FLAGS}") + set(CMAKE_CXX_FLAGS "-fprofile-use -fprofile-correction -Wno-error=coverage-mismatch ${CMAKE_CXX_FLAGS}") endif() #