File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/include/)
138138include_directories (SYSTEM ${CMAKE_CURRENT_SOURCE_DIR} /generated /include /)
139139include_directories (SYSTEM ${CMAKE_CURRENT_SOURCE_DIR} /third_party/sol2/include )
140140
141- set (BOOST_COMPONENTS date_time iostreams program_options thread unit_test_framework)
141+ set (BOOST_COMPONENTS system date_time iostreams program_options thread unit_test_framework)
142142
143143configure_file (
144144 ${CMAKE_CURRENT_SOURCE_DIR} /include /util/version .hpp.in
@@ -323,7 +323,8 @@ if (MSVC)
323323 add_definitions (-DBOOST_ALL_NO_LIB)
324324endif ()
325325
326- find_package (Boost 1.70 REQUIRED COMPONENTS ${BOOST_COMPONENTS} )
326+ set (Boost_USE_STATIC_LIBS ON )
327+ find_package (Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS} )
327328find_package (TBB REQUIRED)
328329find_package (EXPAT REQUIRED)
329330find_package (BZip2 REQUIRED)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ endif()
1212
1313project (osrm-example C CXX)
1414
15- set (CMAKE_CXX_STANDARD 17 )
15+ set (CMAKE_CXX_STANDARD 20 )
1616set (CMAKE_CXX_STANDARD_REQUIRED ON )
1717set (CMAKE_CXX_EXTENSIONS OFF )
1818
You can’t perform that action at this time.
0 commit comments