AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2021.03.06 22:15 "[Tiff] Libdeflate not found ?", by Miguel Medalha
2021.03.06 22:31 "Re: [Tiff] Libdeflate not found ?", by Roger Leigh
2021.03.06 22:59 "Re: [Tiff] Libdeflate not found ?", by Miguel Medalha
2021.03.06 23:17 "Re: [Tiff] Libdeflate not found ?", by Miguel Medalha
2021.03.07 14:34 "Re: [Tiff] Libdeflate not found ?", by Roger Leigh
2021.03.07 15:44 "Re: [Tiff] Libdeflate not found ?", by Miguel Medalha
2021.03.07 15:48 "Re: [Tiff] Libdeflate not found ?", by Roger Leigh

2021.03.06 22:15 "[Tiff] Libdeflate not found ?", by Miguel Medalha

After the latest changes in the main CMakeLists.txt, libdeflate is no longer found automatically:

-- Could NOT find Deflate (missing: Deflate_LIBRARY)

Even if specifying the library's location with '-DDEFLATE_LIBRARY:FILEPATH=' it is still not found, CMake gives the same warning, as well as:

Manually-specified variables were not used by the project:
  DEFLATE_INCLUDE_DIR
  DEFLATE_LIBRARY

Now if we modify the command line to the form '-DDeflate_LIBRARY:FILEPATH= the library is found. This goes against the practice with all other libraries, which are specified in an ALL UPPERCASE format.

Was this change on purpose and, in the affirmative, why is the format in this case going against all other cases?