martin-g commented on code in PR #3299:
URL: https://github.com/apache/avro/pull/3299#discussion_r1926994495
##########
lang/c++/CMakeLists.txt:
##########
@@ -264,3 +266,28 @@ if (NOT CMAKE_BUILD_TYPE)
"Choose the type of build, options are: None Debug Release
RelWithDebInfo MinSizeRel."
FORCE)
endif (NOT CMAKE_BUILD_TYPE)
+
+include(CMakePackageConfigHelpers)
+
+write_basic_package_version_file(
+ "${CMAKE_CURRENT_BINARY_DIR}/AvroConfigVersion.cmake"
+ VERSION ${AVRO_VERSION}
+ COMPATIBILITY SameMajorVersion)
+
+configure_package_config_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/AvroConfig.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/AvroConfig.cmake"
+ INSTALL_DESTINATION lib/cmake/Avro
Review Comment:
In my (poor) experience the convention is to use the one with the capital
letter.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]