From 19f111042187d1900a1062c7806cb285bdb2aa16 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 14 May 2013 20:09:18 -0700 Subject: [PATCH] fix spelling error and lacking boost header includes --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f3ae2707..0019c8d1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ endif() if(APPLE) SET(CMAKE_OSX_ARCHITECTURES "x86_64") - message("Set Archtitecture to x64 on OS X") + message("Set Architecture to x64 on OS X") endif() #Check Boost @@ -54,6 +54,7 @@ find_package( Boost ${BOOST_MIN_VERSION} COMPONENTS ${BOOST_COMPONENTS} REQUIRED if (NOT Boost_FOUND) message(FATAL_ERROR "Fatal error: Boost (version >= 1.44.0) required.\n") endif (NOT Boost_FOUND) +include_directories(${Boost_INCLUDE_DIRS}) target_link_libraries( osrm-extract ${Boost_LIBRARIES} ) target_link_libraries( osrm-prepare ${Boost_LIBRARIES} ) target_link_libraries( osrm-routed ${Boost_LIBRARIES} )