[PATCH] for MyThesLIB lookup

Stephan Witt st.witt at gmx.net
Tue Aug 4 10:13:04 UTC 2020


Am 04.08.2020 um 11:08 schrieb Kornel Benko <kornel at lyx.org>:
> 
> Am Mon, 3 Aug 2020 20:09:37 +0200
> schrieb Stephan Witt <st.witt at gmx.net>:
> 
>> Hi Kornel,
>> 
>> I’m getting this warning:
>> 
>> CMake Warning (dev)
>> at /opt/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
>> (message): The package name passed to `find_package_handle_standard_args` (MYTHESLIB)
>> does not match the name of the calling package (MyThesLIB).  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):
>>  development/cmake/modules/FindMyThesLIB.cmake:26 (find_package_handle_standard_args)
>>  CMakeLists.txt:826 (find_package)
>> This warning is for project developers.  Use -Wno-dev to suppress it.
>> 
>> The attached patch cures it, ok?
>> 
>> Stephan
> 
> The correct way would be to use uppercase for the same case at all places.
> In FindMyThesLIB.cmake _and_ in CMakeLists.txt.

Ok, I did it. Sorry for the mistake to push three commits.

Because of the case ignorance of Mac file system the git mv produced a delete and add instead.

I hope it will work for Daniel on Mac w/o hassle…

Stephan


More information about the lyx-devel mailing list