9 Commits
Author SHA1 Message Date
Alexey 9a25a61108 Added support of debug libraries for hwy, brotli, and lcms2 (#4599) 2026-02-09 12:54:57 +00:00
Moritz Firsching 784de18d7b check multiple highway headers (#3642)
* check multiple highway headers

attempts to fix #3641

* add to find_path

* review comments

* lint

* use break()

* only add break

* lint
2024-06-17 15:50:42 +00:00
Eugene Kliuchnikov 39c98339a9 Fix wording (#2894) 2023-10-20 09:26:52 +00:00
Kleis Auke Wolthuizen b0f30142c8 CMake: clean-up after Brotli update
Commit google/brotli@641bec0 ensures that Brotli honors the
`BUILD_SHARED_LIBS` option in CMake, making commit 43323c0
and 6f20853 redundant.

Resolves #1694.
2023-01-30 09:57:25 +01:00
Kleis Auke Wolthuizen a391331d47 Prefer to use the variable in if statements
i.e. without the dollar sign and braces.

See: http://stackoverflow.com/a/25809646
2022-07-04 08:55:58 +02:00
Mathieu Malaterre 87fe7c16e1 libjxl implementation rely on c11 atomics (cache_aligned.cc) (#1128)
* Initialize c++ requirements before calling check_cxx_source_compiles

* libjxl implementation rely on c11 atomics (cache_aligned.cc)

It turns out that GCC requires explicitly linking to a library `atomic`
in order to support c11/atomics. gcc spec file will not handle it
directly at least not on the following Debian archs: armel, mipsel,
powerpc and riscv64.

Introduce a new cmake module to detect usage of gcc/atomic and add
missing library to the link step.

For reference:
* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104248
2022-03-28 16:05:25 +02:00
Don Olmstead d15b348145 Add find module for brotli (#898)
The module looks for brotli using pkg-config if available otherwise it will look for the library in the CMAKE_PREFIX_PATH. If found a target is created that mirrors the in source build of the library.

The brotli headers do not have versioning so a minimum version is not requested.
2021-11-29 19:20:48 +00:00
Don Olmstead 414798b9a0 Add find module for lcms2 (#897)
The module looks for lcms2 using pkg-config if available otherwise it will look for the library in the CMAKE_PREFIX_PATH. If found a target is created that mirrors the in source build of the library.
2021-11-23 21:50:18 +01:00
Don Olmstead 5a77a50818 Add find module for hwy (#855)
The module looks for hwy using pkg-config if available otherwise it will look for the library in the `CMAKE_PREFIX_PATH`. If found a target is created that mirrors the in source build of the library.
2021-11-23 19:35:47 +00:00