suppress warnings in cmake for library names
e.g.
The package name passed to `find_package_handle_standard_args` (WSLAY) does
not match the name of the calling package (Wslay).  This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
@@ -186,7 +186,7 @@ IF (PKG_CONFIG_FOUND)
ENDIF (LIBUV_FOUND)
ENDIF (PKG_CONFIG_FOUND)
IF (NOT LIBUV_FOUND)
- FIND_PACKAGE(LibUV)
+ FIND_PACKAGE(LIBUV)
IF (LIBUV_FOUND AND LIBUV_VERSION VERSION_LESS "1.0.0")
MESSAGE(STATUS "libuv found but ignored; is too old")
UNSET(LIBUV_FOUND)
@@ -211,7 +211,7 @@ IF (PKG_CONFIG_FOUND)
ENDIF (WSLAY_FOUND)
ENDIF (PKG_CONFIG_FOUND)
IF (NOT WSLAY_FOUND)
- FIND_PACKAGE(Wslay)
+ FIND_PACKAGE(WSLAY)
IF (WSLAY_FOUND)
INCLUDE_DIRECTORIES(${WSLAY_INCLUDE_DIR})
ENDIF (WSLAY_FOUND)
