Use PROTOBUF_LIBRARY instead of blind libprotobuf
This commit is contained in:
parent
84d1dc9755
commit
096743a322
1 changed files with 1 additions and 4 deletions
|
@ -14,10 +14,7 @@ ADD_EXECUTABLE(spectrum2 ${SRC})
|
|||
ADD_DEPENDENCIES(spectrum2 spectrum2_libpurple_backend)
|
||||
ADD_DEPENDENCIES(spectrum2 spectrum2_libircclient-qt_backend)
|
||||
|
||||
target_link_libraries(spectrum2 transport ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES})
|
||||
if (NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
target_link_libraries(spectrum2 libprotobuf)
|
||||
endif()
|
||||
target_link_libraries(spectrum2 transport ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
|
||||
|
||||
INSTALL(TARGETS spectrum2 RUNTIME DESTINATION bin)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue