mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 03:39:05 +08:00
72ee11d37a
* 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
15 lines
418 B
Plaintext
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
|