File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ endif()
65
65
66
66
add_library (libprotobuf-lite ${protobuf_SHARED_OR_STATIC}
67
67
${libprotobuf_lite_files} ${libprotobuf_lite_includes} ${libprotobuf_lite_rc_files} )
68
- target_link_libraries (libprotobuf-lite ${CMAKE_THREAD_LIBS_INIT} )
68
+ target_link_libraries (libprotobuf-lite PUBLIC ${CMAKE_THREAD_LIBS_INIT} )
69
69
if (protobuf_LINK_LIBATOMIC )
70
- target_link_libraries (libprotobuf-lite atomic )
70
+ target_link_libraries (libprotobuf-lite PUBLIC atomic )
71
71
endif ()
72
72
if (${CMAKE_SYSTEM_NAME} STREQUAL "Android" )
73
73
target_link_libraries (libprotobuf-lite log )
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ if(protobuf_WITH_ZLIB)
119
119
target_link_libraries (libprotobuf PUBLIC ${ZLIB_LIBRARIES} )
120
120
endif ()
121
121
if (protobuf_LINK_LIBATOMIC )
122
- target_link_libraries (libprotobuf atomic )
122
+ target_link_libraries (libprotobuf PUBLIC atomic )
123
123
endif ()
124
124
if (${CMAKE_SYSTEM_NAME} STREQUAL "Android" )
125
125
target_link_libraries (libprotobuf log )
You can’t perform that action at this time.
0 commit comments