vcpkg/ports/libjpeg-turbo/usage
Kai Pastor 017bd3f30a
[libjpeg-turbo] Update usage (#31071)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-25 22:42:00 -07:00

10 lines
356 B
Plaintext

libjpeg-turbo is compatible with built-in implementation-agnostic CMake targets:
find_package(JPEG REQUIRED)
target_include_directories(main PRIVATE JPEG::JPEG)
libjpeg-turbo provides CMake targets for the TurboJPEG C API:
find_package(libjpeg-turbo CONFIG REQUIRED)
target_link_libraries(main PRIVATE libjpeg-turbo::turbojpeg)