Kai Pastor 2e3b958ff0
[libraw] Update to 0.21.1, revise dependencies (#29647)
* [libraw] Updated port to version 0.21.1

* [freeimage] Updated port to prepare for libraw version 0.21

* Add const in the right position

* Portfile modernization

* [libraw] Revise dependencies

* Add dng-lossy feature

* Update versions

* Add license

* Fix license name

---------

Co-authored-by: Anders Klemets <anderskl@microsoft.com>
2023-02-16 13:35:47 -08:00

8 lines
226 B
Plaintext

libraw provides CMake targets:
find_package(libraw CONFIG REQUIRED)
# non-thread-safe
target_link_libraries(main PRIVATE libraw::raw)
# thread-safe
target_link_libraries(main PRIVATE libraw::raw_r)