Skip to content

Commit

Permalink
Fix trampoline.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreinking committed Sep 3, 2024
1 parent 543e8f5 commit 264bff8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packaging/pip/TrampolineConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.28)
include(CMakeFindDependencyMacro)
find_dependency(Python 3 COMPONENTS Interpreter)

include("${Python_SITEARCH}/@Halide_INSTALL_CMAKEDIR@/@[email protected]")
list(PREPEND CMAKE_PREFIX_PATH "${Python_SITEARCH}/halide")
include("${Python_SITEARCH}/halide/@Halide_INSTALL_CMAKEDIR@/@[email protected]")
list(POP_FRONT CMAKE_PREFIX_PATH)

0 comments on commit 264bff8

Please sign in to comment.