We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fafe7c commit 0baba26Copy full SHA for 0baba26
CMakeLists.txt
@@ -472,11 +472,6 @@ install(
472
)
473
install(FILES tools/cmake/executorch-config.cmake DESTINATION lib/cmake/ExecuTorch)
474
475
-# Add googletest if any test targets should be built
476
-if(BUILD_TESTING)
477
- add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/third-party/googletest)
478
-endif()
479
-
480
if(EXECUTORCH_BUILD_ARM_BAREMETAL)
481
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/backends/arm)
482
endif()
third-party/CMakeLists.txt
@@ -10,6 +10,10 @@ if(EXECUTORCH_BUILD_PYBIND)
10
add_subdirectory(pybind11)
11
12
13
+if(BUILD_TESTING)
14
+ add_subdirectory(googletest)
15
+endif()
16
+
17
# MARK: - flatbuffers
18
19
if(WIN32)
0 commit comments