[PATCH] for MyThesLIB lookup

Stephan Witt st.witt at gmx.net
Mon Aug 3 18:09:37 UTC 2020


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyThesLIB.patch
Type: application/octet-stream
Size: 736 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200803/fd9b6893/attachment.obj>


More information about the lyx-devel mailing list