mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 00:22:55 +08:00
82dac26950
* Update Halide to 11.0.0 * test PR branch * run vcpkg x-add-version halide * switch back to release/11.x * rerun x-add-version * update usage * update Halide to 11.0.1 * ./vcpkg x-add-version halide --overwrite-version
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/v11.0.1/README_cmake.md
|