Skip to content

Commit 4f324d6

Browse files
committed
✨ Integrate gflags library into build configuration
1 parent 9752cc6 commit 4f324d6

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -455,14 +455,6 @@ endif()
455455

456456
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/configurations)
457457

458-
#
459-
# gflags: Commandline flag host library.
460-
#
461-
462-
if(EXECUTORCH_BUILD_GFLAGS)
463-
add_subdirectory(third-party/gflags)
464-
endif()
465-
466458
# Install `executorch` library as well as `executorch-config.cmake` under
467459
# ${CMAKE_INSTALL_PREFIX}/
468460
install(

third-party/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
add_subdirectory(json)
88

9+
add_subdirectory(gflags)
10+
911
if(EXECUTORCH_BUILD_PYBIND)
1012
add_subdirectory(pybind11)
1113
endif()

tools/cmake/preset/default.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,6 @@ define_overridable_option(
209209
"Build the Cortex-M backend"
210210
BOOL OFF
211211
)
212-
define_overridable_option(
213-
EXECUTORCH_BUILD_GFLAGS
214-
"Build the gflags library."
215-
BOOL ON
216-
)
217212
define_overridable_option(
218213
EXECUTORCH_COREML_BUILD_EXECUTOR_RUNNER
219214
"Build CoreML executor runner."

0 commit comments

Comments
 (0)