be more forgiving of out-of-date profiles

This commit is contained in:
Scott Lamb 2016-11-12 11:49:31 -08:00
parent 60f0ffc970
commit 9f087eefa9

View File

@ -56,7 +56,7 @@ if(PROFILE_GENERATE)
set(CMAKE_CXX_FLAGS "-fprofile-generate ${CMAKE_CXX_FLAGS}") set(CMAKE_CXX_FLAGS "-fprofile-generate ${CMAKE_CXX_FLAGS}")
endif() endif()
if(PROFILE_USE) 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() endif()
# #