Skip to content

Conversation

@WilliamTambellini
Copy link

No description provided.

CMakeLists.txt Outdated
# https://github.com/protocolbuffers/protobuf/releases
# Let's be safe and require protobuf 2.6.1:
set(REQUIRED_PROTOBUF_VERSION "2.6.1")
message(STATUS "REQUIRED PROTOBUF_VERSION= ${REQUIRED_PROTOBUF_VERSION}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message seems redundant because succeeding find_package checks the version and print similar message.

CMakeLists.txt Outdated
# As today, it s not sure that menoh will work perfectly with future version of protobuf (2.7.0, ...) :
# https://github.com/protocolbuffers/protobuf/releases
# Let's be safe and require protobuf 2.6.1:
set(REQUIRED_PROTOBUF_VERSION "2.6.1")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REQUIRED_PROTOBUF_VERSION is not used exceptfind_package if succeeding message is removed. So we can write the version string 2.6.1 directly in find_package statement.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@okdshin
Copy link
Contributor

okdshin commented Feb 1, 2019

Thank you for the PR. I made some comments. Please check. @WilliamTambellini

@WilliamTambellini
Copy link
Author

done

Copy link
Author

@WilliamTambellini WilliamTambellini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simplified

@okdshin
Copy link
Contributor

okdshin commented Feb 7, 2019

Thank you! I know you are working for onnx about the same issue. onnx/onnx#1794
I would like to merge this PR after checking how onnx deals with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants