cmake_minimum_required(VERSION 2.8)
project(ygodata)

set(DATA_VERSION "0.0.1")

################################
# Third party libraries
################################
find_package(Boost 1.55.0 COMPONENTS system thread REQUIRED)

include_directories(${BOOST_INCLUDE_DIRS})

################################
# Locate source
################################
file(GLOB_RECURSE INCLUDES include/*.h)
file(GLOB_RECURSE SRC src/*.cpp)

include_directories(include)

################################
# Libraries
################################
set(YGODATA_LIBS
    ${Boost_LIBRARIES}
    )

################################
# Build targets
################################
add_library(ygodata
    ${SRC}
    ${INCLUDES})

target_link_libraries(ygodata
    ${YGODATA_LIBS})

################################
# Export library
################################

export_project(
    NAME ygodata
    INCLUDES ${CMAKE_CURRENT_LIST_DIR}/include
    LIBS ygodata
    VERSION ${DATA_VERSION}
)


cmake_minimum_required(VERSION 2.8)
project(ygodata)

set(DATA_VERSION "0.0.1")

################################
# Third party libraries
################################
find_package(Boost 1.55.0 COMPONENTS system thread REQUIRED)

include_directories(${Boost_INCLUDE_DIRS})

################################
# Locate source
################################
file(GLOB_RECURSE INCLUDES include/*.h)
file(GLOB_RECURSE SRC src/*.cpp)

include_directories(include)

################################
# Libraries
################################
set(YGODATA_LIBS
    ${Boost_LIBRARIES}
    )

################################
# Build targets
################################
add_library(ygodata
    ${SRC}
    ${INCLUDES})

target_link_libraries(ygodata
    ${YGODATA_LIBS})

################################
# Export library
################################

export_project(
    NAME ygodata
    INCLUDES ${CMAKE_CURRENT_LIST_DIR}/include
    LIBS ygodata
    VERSION ${DATA_VERSION}
)


Fix boost include directory variable
Fix boost include directory variable
