mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 05:09:01 +08:00
017bd3f30a
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
10 lines
356 B
Plaintext
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)
|