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

include SnappyTargets.cmake for easier integration, in SnappyConfig.c… #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kinaqu
Copy link

@Kinaqu Kinaqu commented Dec 14, 2024

…make file

Included the SnappyTargets.cmake file in SnappyConfig.cmake to streamline the integration of the Snappy library in other CMake-based projects.

  • This change ensures that SnappyTargets.cmake is loaded automatically when the SnappyConfig.cmake is included.
  • By including SnappyTargets.cmake, the build configuration for Snappy, such as target definitions, compiler flags, and paths, will be set up correctly when Snappy is used in other projects.
  • This simplifies the process of linking Snappy with other projects, allowing CMake to manage all necessary configurations without requiring manual path and setting adjustments.

This update improves the ease of integrating Snappy with other projects by leveraging CMake's find_package() functionality.

…make file

Included the SnappyTargets.cmake file in SnappyConfig.cmake to streamline the integration of the Snappy library in other CMake-based projects.

- This change ensures that `SnappyTargets.cmake` is loaded automatically when the SnappyConfig.cmake is included.
- By including `SnappyTargets.cmake`, the build configuration for Snappy, such as target definitions, compiler flags, and paths, will be set up correctly when Snappy is used in other projects.
- This simplifies the process of linking Snappy with other projects, allowing CMake to manage all necessary configurations without requiring manual path and setting adjustments.

This update improves the ease of integrating Snappy with other projects by leveraging CMake's `find_package()` functionality.
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.

1 participant