Skip to content

Commit d53e93c

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

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# LICENSE file in the root directory of this source tree.
66

77
add_subdirectory(json)
8+
add_subdirectory(gflags)
89

910
if(EXECUTORCH_BUILD_PYBIND)
1011
add_subdirectory(pybind11)

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)