Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

fix: avoid warnings with newer CMake versions #48

Merged
merged 1 commit into from
Apr 23, 2020
Merged

fix: avoid warnings with newer CMake versions #48

merged 1 commit into from
Apr 23, 2020

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Apr 23, 2020

I noticed this with CMake 3.17.1, but may have started earlier. Using
include() to load a module does not work because the calls to
find_package_handle_standard_args() generate a ton of warnings.
Loading the module using find_package() works as expected.

Part of the work for googleapis/google-cloud-cpp#3892


This change is Reviewable

I noticed this with CMake 3.17.1, but may have started earlier. Using
`include()` to load a module does not work because the calls to
`find_package_handle_standard_args()` generate a ton of warnings.
Loading the module using `find_package()` works as expected.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 23, 2020
@coryan coryan marked this pull request as ready for review April 23, 2020 18:53
Copy link

@mr-salty mr-salty left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @devbww, @devjgm, and @scotthart)

@coryan coryan merged commit 7f63ce1 into googleapis:master Apr 23, 2020
@coryan coryan deleted the fix-cmake-3.17.1-warnings branch April 23, 2020 19:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants