Skip to content

Commit

Permalink
Make auto scheduler libs available in HalideHelpers package (#7285)
Browse files Browse the repository at this point in the history
* Make auto scheduler libs available in HalideHelpers package

find_package(HalideHelpers) allows us to use add_halide_library().
But auto scheduler libs are not available unless they are in
Halide-Interfaces.cmake.
Note:
Those libraries are not actually linked to the target application,
but need to be available for add_custom_command call.
  • Loading branch information
stevesuzuki-arm authored Feb 7, 2023
1 parent 0c7722f commit 34d256f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ install(TARGETS Halide Halide_Generator Halide_LanguageOptions

if (TARGET Halide_Adams2019)
install(TARGETS Halide_Adams2019 Halide_Li2018 Halide_Mullapudi2016
EXPORT Halide_Targets
EXPORT Halide_Interfaces
LIBRARY DESTINATION ${Halide_INSTALL_PLUGINDIR} COMPONENT Halide_Runtime
NAMELINK_COMPONENT Halide_Development)
endif ()
Expand Down

0 comments on commit 34d256f

Please sign in to comment.