Am Tue, 4 Aug 2020 11:08:36 +0200
schrieb Kornel Benko <kor...@lyx.org>:

> Am Mon, 3 Aug 2020 20:09:37 +0200
> schrieb Stephan Witt <st.w...@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.
> 
> So renameing FindMyThesLIB.cmake to FindMYThESLIB.cmake would do better.
> (As was done for FindASPELL.cmake, FindENCHANT.cmake and /FindHUNSPELL.cmake)
> commit 77ee91cc
> 
>       Kornel

I have not seen it, because I use internal 3rdparty version.

Will you do the change?

        Kornel

Attachment: pgpHwHZJppT8f.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to