changeset 833:19b58acf0e3b

cmake: silence case sensitivity related warning The warning says it all: CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (UMEM) does not match the name of the calling package (umem). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Mon, 01 Mar 2021 23:31:45 -0500
parents 76e588fedba8
children 9819d9d0e08a
files cmake/Modules/Findumem.cmake
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cmake/Modules/Findumem.cmake	Mon Mar 01 19:35:15 2021 -0500
+++ b/cmake/Modules/Findumem.cmake	Mon Mar 01 23:31:45 2021 -0500
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2015 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
+# Copyright (c) 2015-2021 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
@@ -37,5 +37,5 @@
 # all listed variables are TRUE.
 #
 include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(UMEM DEFAULT_MSG UMEM_LIBRARY
+find_package_handle_standard_args(umem DEFAULT_MSG UMEM_LIBRARY
 	UMEM_INCLUDE_DIR)