Link with Protobuf_LIBRARIES

This commit is contained in:
Jonas Kvinge
2023-03-08 18:56:15 +01:00
parent 312c5cbc3f
commit 40a4bf195a
2 changed files with 3 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ target_include_directories(libstrawberry-tagreader PRIVATE
target_link_libraries(libstrawberry-tagreader PRIVATE target_link_libraries(libstrawberry-tagreader PRIVATE
${GLIB_LIBRARIES} ${GLIB_LIBRARIES}
${PROTOBUF_LIBRARY} ${Protobuf_LIBRARIES}
${QtCore_LIBRARIES} ${QtCore_LIBRARIES}
${QtNetwork_LIBRARIES} ${QtNetwork_LIBRARIES}
libstrawberry-common libstrawberry-common

View File

@@ -966,6 +966,7 @@ link_directories(
${GOBJECT_LIBRARY_DIRS} ${GOBJECT_LIBRARY_DIRS}
${GNUTLS_LIBRARY_DIRS} ${GNUTLS_LIBRARY_DIRS}
${SQLITE_LIBRARY_DIRS} ${SQLITE_LIBRARY_DIRS}
${PROTOBUF_LIBRARY_DIRS}
${SINGLEAPPLICATION_LIBRARY_DIRS} ${SINGLEAPPLICATION_LIBRARY_DIRS}
${SINGLECOREAPPLICATION_LIBRARY_DIRS} ${SINGLECOREAPPLICATION_LIBRARY_DIRS}
) )
@@ -1085,6 +1086,7 @@ target_link_libraries(strawberry_lib PUBLIC
${GNUTLS_LIBRARIES} ${GNUTLS_LIBRARIES}
${SQLITE_LIBRARIES} ${SQLITE_LIBRARIES}
${QT_LIBRARIES} ${QT_LIBRARIES}
${Protobuf_LIBRARIES}
${SINGLEAPPLICATION_LIBRARIES} ${SINGLEAPPLICATION_LIBRARIES}
${SINGLECOREAPPLICATION_LIBRARIES} ${SINGLECOREAPPLICATION_LIBRARIES}
libstrawberry-common libstrawberry-common