Skip to content

Commit ffdb85d

Browse files
mkopcinsMateusz Kopciński
authored andcommitted
chore: small refactor of CMakeLists.txt (#620)
<!-- Provide a concise and descriptive summary of the changes implemented in this PR. --> - [ ] Yes - [x] No - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [x] Other (chores, tests, code style improvements etc.) - [ ] iOS - [x] Android <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> <!-- Add screenshots here, if applicable --> <!-- Link related issues here using #issue-number --> - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. --> Co-authored-by: Mateusz Kopciński <mateusz.kopcinski@swmansnion.com>
1 parent 4b113f7 commit ffdb85d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/react-native-executorch/android/src/main/cpp/CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,13 @@ if(ANDROID_ABI STREQUAL "arm64-v8a")
4949
add_library(pthreadpool SHARED IMPORTED)
5050

5151
set_target_properties(pthreadpool PROPERTIES
52-
IMPORTED_LOCATION "${LIBS_DIR}/pthreadpool/${ANDROID_ABI}/libpthreadpool.so"
53-
INTERFACE_INCLUDE_DIRECTORIES "${LIBS_DIR}/../../include/pthreadpool/")
54-
52+
IMPORTED_LOCATION "${LIBS_DIR}/pthreadpool/${ANDROID_ABI}/libpthreadpool.so")
53+
5554
# ------- cpuinfo -------
5655
add_library(cpuinfo SHARED IMPORTED)
5756

5857
set_target_properties(cpuinfo PROPERTIES
59-
IMPORTED_LOCATION "${LIBS_DIR}/cpuinfo/${ANDROID_ABI}/libcpuinfo.so"
60-
INTERFACE_INCLUDE_DIRECTORIES "${LIBS_DIR}/../../include/cpuinfo/")
58+
IMPORTED_LOCATION "${LIBS_DIR}/cpuinfo/${ANDROID_ABI}/libcpuinfo.so")
6159
set(EXECUTORCH_LIBS
6260
"pthreadpool"
6361
"cpuinfo"

0 commit comments

Comments
 (0)