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
 
@@ -5,28 +5,25 @@ FILE(GLOB SRC *.cpp)
 
# FILE(GLOB WIN_SRC win32/*.cpp)
 
# include_directories(win32)
 
# ADD_EXECUTABLE(spectrum2 ${SRC} ${WIN_SRC})
 
# else()
 
ADD_EXECUTABLE(spectrum2 ${SRC})
 
# endif()
 
 
 
 
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)
 
 
INSTALL(FILES
 
	sample2.cfg
 
	RENAME spectrum.cfg.example
 
	DESTINATION /etc/spectrum2/transports
 
	)
 
 
INSTALL(FILES
 
	backend-logging.cfg
 
	DESTINATION /etc/spectrum2
0 comments (0 inline, 0 general)