Fix example.cpp cmake #5687

Fix example.cpp cmake according #5687
This commit is contained in:
Nicolas Grosjean 2021-07-08 17:44:56 +02:00 committed by GitHub
parent f7478ba80f
commit 92e56a28a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)