Files
@ 8c77ffefc232
Branch filter:
Location: libtransport.git/spectrum/src/CMakeLists.txt - annotation
8c77ffefc232
831 B
text/plain
fix compilation
96e0e9f7a678 96e0e9f7a678 96e0e9f7a678 98982a60fba3 98982a60fba3 98982a60fba3 98982a60fba3 98982a60fba3 fe3aa40faa22 98982a60fba3 98982a60fba3 98982a60fba3 96e0e9f7a678 6cffbaebf81b 6cffbaebf81b 4c87620c9f71 b1e661969b89 9aba55b0a017 bda35a459e91 bda35a459e91 96e0e9f7a678 fe3aa40faa22 fe3aa40faa22 fe3aa40faa22 fe3aa40faa22 fe3aa40faa22 06ea1ee6642d fe3aa40faa22 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f 36056deeb90f | cmake_minimum_required(VERSION 2.6)
FILE(GLOB SRC *.cpp)
if (WIN32)
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()
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
)
INSTALL(FILES
logging.cfg
DESTINATION /etc/spectrum2
)
|