Skip to content

Commit a2f14ac

Browse files
committed
Update
[ghstack-poisoned]
1 parent e48e6cc commit a2f14ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ endif()
165165

166166
if(EXECUTORCH_BUILD_TESTS)
167167
include(CTest)
168+
else()
169+
# It looks like some of our third-party deps will try to turn this
170+
# on if it's not explicitly set, leading to confusing behavior.
171+
set(BUILD_TESTING OFF)
168172
endif()
169173

170174
add_subdirectory(third-party)

0 commit comments

Comments
 (0)