Skip to content

Commit 5dd2ed3

Browse files
authored
executorch-the-CMake-target should re-export executorch_core, shouldn't it? (#8404)
This seems to fix QNN build failures, and it doesn't make sense to me that every executorch (the CMake target) consumer should also have to explicitly link executorch_core
1 parent e32afa0 commit 5dd2ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ endif()
596596
# any backends.
597597
#
598598
add_library(executorch ${_executorch__srcs})
599-
target_link_libraries(executorch PRIVATE executorch_core)
599+
target_link_libraries(executorch PUBLIC executorch_core)
600600
target_include_directories(executorch PUBLIC ${_common_include_directories})
601601
target_compile_definitions(executorch PUBLIC C10_USING_CUSTOM_GENERATED_MACROS)
602602
target_compile_options(executorch PUBLIC ${_common_compile_options})

0 commit comments

Comments
 (0)