Files @ 172b64c2042b
Branch filter:

Location: libtransport.git/backends/template/CMakeLists.txt - annotation

Vitaly Takmazov
Merge branch 'master' of github.com:vitalyster/libtransport
cmake_minimum_required(VERSION 2.6)

FILE(GLOB SRC *.c *.cpp)

ADD_EXECUTABLE(spectrum2_template_backend ${SRC})

if (NOT WIN32)
target_link_libraries(spectrum2_template_backend transport pthread ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES})
else()
include_directories("${CMAKE_SOURCE_DIR}/msvc-deps/protobuf/libprotobuf")
target_link_libraries(spectrum2_template_backend transport libprotobuf ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES})
endif()

#INSTALL(TARGETS spectrum2_template_backend RUNTIME DESTINATION bin)