vcpkg/ports/angle/usage
friendlyanon 58054d0572
[angle] Improve UX for unofficial CMake package ()
* [angle] Propagate transitive dependencies

* [angle] Add usage info for unofficial CMake targets

Only the unofficial::angle::libGLESv2 and unofficial::angle::libEGL
targets are meant to be used, because they are the targets that no other
depends on.

Co-authored-by: friendlyanon <friendlyanon@users.noreply.github.com>
2023-01-04 14:41:32 -08:00

9 lines
320 B
Plaintext

The package angle provides unofficial CMake targets:
find_package(unofficial-angle REQUIRED CONFIG)
target_link_libraries(main PRIVATE unofficial::angle::libGLESv2)
# Or use the EGL target
find_package(unofficial-angle REQUIRED CONFIG)
target_link_libraries(main PRIVATE unofficial::angle::libEGL)