Update libprotobuf.cmake

This commit is contained in:
RPG3D 2020-03-09 10:15:54 +08:00 committed by Adam Cozzette
parent 6aaa40f2a9
commit ce66f6047d

View File

@ -122,7 +122,7 @@ if(protobuf_LINK_LIBATOMIC)
target_link_libraries(libprotobuf atomic)
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "Android")
target_link_libraries(libprotobuf-lite log)
target_link_libraries(libprotobuf log)
endif()
target_include_directories(libprotobuf PUBLIC ${protobuf_source_dir}/src)
if(MSVC AND protobuf_BUILD_SHARED_LIBS)