Skip to content

Commit 76af36b

Browse files
committed
fix absl not found issue
1 parent 55b2376 commit 76af36b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/qualcomm/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ if(NOT CMAKE_BUILD_TYPE)
2626
set(CMAKE_BUILD_TYPE RelWithDebInfo)
2727
endif()
2828

29+
# some toolchains might contain their own packages, skip them here
30+
find_package(gflags REQUIRED NO_CMAKE_FIND_ROOT_PATH)
31+
find_package(absl REQUIRED NO_CMAKE_FIND_ROOT_PATH)
32+
2933
# Find prebuilt libraries. executorch package should contain portable_ops_lib,
3034
# etdump, bundled_program.
3135
find_package(executorch CONFIG REQUIRED)
3236
target_compile_options(executorch INTERFACE -DET_EVENT_TRACER_ENABLED)
33-
# some toolchains might contain their own gflags, skip them here
34-
find_package(gflags REQUIRED NO_CMAKE_FIND_ROOT_PATH)
3537

3638
set(_common_compile_options -Wno-deprecated-declarations -fPIC)
3739

0 commit comments

Comments
 (0)