File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,8 @@ set(_common_compile_options -Wno-deprecated-declarations -fPIC)
4040set (_common_include_directories ${EXECUTORCH_ROOT} /..)
4141
4242find_package (executorch CONFIG REQUIRED)
43- find_package (
44- gflags REQUIRED PATHS ${CMAKE_CURRENT_BINARY_DIR} /../../../third-party
45- )
43+ set (gflags_DIR ${CMAKE_CURRENT_SOURCE_DIR} /../../../third-party/gflags/gflags-build )
44+ find_package (gflags REQUIRED)
4645
4746target_include_directories (executorch INTERFACE ${_common_include_directories} )
4847
Original file line number Diff line number Diff line change @@ -39,9 +39,8 @@ set(_common_compile_options -Wno-deprecated-declarations -fPIC)
3939set (_common_include_directories ${EXECUTORCH_ROOT} /..)
4040
4141find_package (executorch CONFIG REQUIRED)
42- find_package (
43- gflags REQUIRED PATHS ${CMAKE_CURRENT_BINARY_DIR} /../../third-party
44- )
42+ set (gflags_DIR ${CMAKE_CURRENT_SOURCE_DIR} /../../../third-party/gflags/gflags-build )
43+ find_package (gflags REQUIRED)
4544
4645target_include_directories (executorch_core INTERFACE ${_common_include_directories} )
4746
You can’t perform that action at this time.
0 commit comments