mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 14:45:54 -05:00
be more forgiving of out-of-date profiles
This commit is contained in:
parent
60f0ffc970
commit
9f087eefa9
@ -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()
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user