Skip to content

Commit 4699868

Browse files
committed
Update
[ghstack-poisoned]
2 parents 57cf805 + d41a53d commit 4699868

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tools/cmake/executorch-wheel-config.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ find_path(
5555
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." "${CMAKE_CURRENT_LIST_DIR}/../.."
5656
"${CMAKE_CURRENT_LIST_DIR}/../../.."
5757
NO_DEFAULT_PATH
58+
# NO_CACHE so the search runs on every configure. A cached result would survive
59+
# the package being upgraded or relocated in place and keep naming a directory
60+
# that has moved, which is worse than reporting it as not found.
61+
NO_CACHE
5862
)
5963

6064
set(EXECUTORCH_INCLUDE_DIRS

0 commit comments

Comments
 (0)