diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 9ad67cb89..e69ab4f6b 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -26,7 +26,7 @@ endif() add_executable(osrm-example example.cpp) find_package(LibOSRM REQUIRED) -find_package(Boost 1.49.0 COMPONENTS filesystem system thread REQUIRED) +find_package(Boost 1.49.0 COMPONENTS filesystem system thread iostreams REQUIRED) target_link_libraries(osrm-example ${LibOSRM_LIBRARIES} ${Boost_LIBRARIES}) include_directories(SYSTEM ${LibOSRM_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})