Commit 7634567
committed
FindRSVG.cmake: Fix CMake warnings
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message):
The package name passed to find_package_handle_standard_args() (PkgConfig)
does not match the name of the calling package (RSVG). This can lead to
problems in calling code that expects find_package() result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:562 (find_package_handle_standard_args)
CMakeModules/FindRSVG.cmake:2 (INCLUDE)
CMakeLists.txt:771 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:493 (message):
The package name passed to find_package_handle_standard_args() (PkgConfig)
does not match the name of the calling package (RSVG). This can lead to
problems in calling code that expects find_package() result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:562 (find_package_handle_standard_args)
CMakeModules/FindRSVG.cmake:6 (INCLUDE)
CMakeLists.txt:771 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>1 parent 89bbe4c commit 7634567
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
7 | 3 | | |
| 4 | + | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
0 commit comments