cmake_minimum_required(VERSION 3.3)
project(onezero)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

set(SOURCE_FILES src/base/message.cpp src/base/message.h)
add_library(onezero STATIC ${SOURCE_FILES} src/base/message.cpp src/base/message.h)
cmake_minimum_required(VERSION 3.3)
project(onezero)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

find_package(Boost 1.59.0)

if(Boost_FOUND)
    include_directories(${Boost_INCLUDE_DIRS})
    set(SOURCE_FILES src/base/message.cpp src/base/message.h)
    add_library(onezero STATIC ${SOURCE_FILES} src/base/message.cpp src/base/message.h)
else()
    message(FATAL_ERROR "Failed to find Boost libraries. Unable to build.")
endif()

Add dependency on Boost 1.59.0
Add dependency on Boost 1.59.0
