# HG changeset patch # User Josef 'Jeff' Sipek # Date 1596916580 14400 # Node ID 916b8829e921f456193f803193d532f89944ec4c # Parent 795556be4cbadec0bc6d6bdfc298e851c57fa0fe 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` (JEFFPC) does not match the name of the calling package (jeffpc). 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 diff -r 795556be4cba -r 916b8829e921 cmake/Modules/Findjeffpc.cmake --- a/cmake/Modules/Findjeffpc.cmake Wed Aug 05 19:56:56 2020 -0400 +++ b/cmake/Modules/Findjeffpc.cmake Sat Aug 08 15:56:20 2020 -0400 @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2018 Josef 'Jeff' Sipek +# Copyright (c) 2016-2020 Josef 'Jeff' Sipek # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -55,5 +55,5 @@ # all listed variables are TRUE. # include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(JEFFPC DEFAULT_MSG JEFFPC_LIBRARY +find_package_handle_standard_args(jeffpc DEFAULT_MSG JEFFPC_LIBRARY JEFFPC_INCLUDE_DIR)