Commit 7f63ce1
authored
fix: avoid warnings with newer CMake versions (googleapis#48)
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.1 parent 3649515 commit 7f63ce1
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments