vcpkg/ports/halide/usage
Alex Reinking 72ee11d37a
[halide] Fix several issues with the Halide port after v12 (#18747)
* Fix several issues with the Halide port after v12

1. Use vcpkg-cmake and vcpkg-cmake-config ports
2. Fix usage file to point to relevant documentation
3. Remove OpenGL feature (Halide 12 dropped support)
4. Drop VCPKG_POLICY_EMPTY_PACKAGE
5. Set new Halide packaging variables for better vcpkg compliance.

* update versions
2021-07-01 07:24:48 -07:00

15 lines
418 B
Plaintext

The package halide provides CMake targets:
find_package(Halide REQUIRED)
# JIT mode:
target_link_libraries(main PRIVATE Halide::Halide)
# AOT mode:
target_link_libraries(gen PRIVATE Halide::Generator)
add_halide_library(filter FROM gen)
target_link_libraries(main PRIVATE filter)
For more information see:
https://github.com/halide/Halide/blob/v12.0.1/README_cmake.md