Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update fineobj to 15 47 #1013

Merged
merged 11 commits into from
Dec 25, 2023
Prev Previous commit
Next Next commit
Fix protobuf compilation errors on Darwin
Signed-off-by: Valery Fedyunin <valery.fedyunin@abbyy.com>
  • Loading branch information
Valery Fedyunin committed Dec 22, 2023
commit c495704fbc11c7515107f93ebcb53dfc15e8e325
5 changes: 5 additions & 0 deletions NeoOnnx/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ if(LINUX)
target_compile_options(libprotobuf-lite PRIVATE -Wno-stringop-overflow)
endif()

if(DARWIN)
target_compile_options(libprotobuf PRIVATE -Wno-deprecated-declarations)
target_compile_options(libprotobuf-lite PRIVATE -Wno-deprecated-declarations)
endif()

if(${CMAKE_VERSION} VERSION_GREATER "3.16.0")
set(CMAKE_UNITY_BUILD ${NeoML_UNITY_BUILD})
endif()
Expand Down
Loading