From 92e56a28a9df76b16964ea00ad1be22aec444a8a Mon Sep 17 00:00:00 2001 From: Nicolas Grosjean Date: Thu, 8 Jul 2021 17:44:56 +0200 Subject: [PATCH] Fix example.cpp cmake #5687 Fix example.cpp cmake according #5687 --- example/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 154eda39b..0a3e401a1 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -26,6 +26,8 @@ if(WIN32 AND MSVC_VERSION LESS 1900) message(FATAL_ERROR "Building with Microsoft compiler needs Latest Visual Studio 2015 (Community or better)") endif() +find_package(Boost 1.54 REQUIRED COMPONENTS filesystem system thread iostreams chrono date_time regex REQUIRED) + link_directories(${LibOSRM_LIBRARY_DIRS}) add_executable(osrm-example example.cpp)