Changeset - 096743a322b7
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-09-04 17:44:00
hanzz.k@gmail.com
Use PROTOBUF_LIBRARY instead of blind libprotobuf
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
spectrum/src/CMakeLists.txt
Show inline comments
 
@@ -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)
 
0 comments (0 inline, 0 general)