mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 11:07:51 +08:00
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/v10.0.0/README_cmake.md
|