mirror of https://github.com/microsoft/vcpkg.git
16 lines
370 B
Plaintext
16 lines
370 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)
|
|
|
|
libraw provides pkg-config modules:
|
|
|
|
# Raw image decoder library (non-thread-safe)
|
|
libraw
|
|
|
|
# Raw image decoder library (thread-safe)
|
|
libraw_r
|