removed Boost from buildrecipe

This commit is contained in:
tastytea 2018-03-18 14:59:47 +01:00
parent 94b00bca99
commit 348aa4dca8
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 1 additions and 7 deletions

View File

@ -50,17 +50,11 @@ endif()
# Examples
if(WITH_EXAMPLES)
include(FindBoost)
find_package(Boost REQUIRED COMPONENTS system filesystem)
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
add_definitions(${Boost_DEFINITIONS})
file(GLOB sources_examples src/examples/*.cpp)
foreach(src ${sources_examples})
get_filename_component(bin ${src} NAME_WE)
add_executable(${bin} ${src})
target_link_libraries(${bin} -lpthread ${Boost_LIBRARIES} -ljsoncpp mastodon-cpp)
target_link_libraries(${bin} -lpthread -ljsoncpp mastodon-cpp)
endforeach()
endif()