From f70174d1d15f5781c894b1076f87541cf5495811 Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Mon, 22 Jul 2013 17:54:04 +0200 Subject: [PATCH] Link internal tools against UUID --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ce6826292..ca7cdda21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,9 +146,10 @@ if(WITH_TOOLS) if(GDAL_FOUND) add_executable(osrm-components Tools/componentAnalysis.cpp) include_directories(${GDAL_INCLUDE_DIR}) - target_link_libraries( osrm-components ${GDAL_LIBRARIES} ) - target_link_libraries( osrm-components ${Boost_LIBRARIES} ) + target_link_libraries( + osrm-components ${GDAL_LIBRARIES} ${Boost_LIBRARIES} UUID + ) endif(GDAL_FOUND) - add_executable ( osrm-cli Tools/simpleclient.cpp) - target_link_libraries( osrm-cli ${Boost_LIBRARIES} OSRM) + add_executable ( osrm-cli Tools/simpleclient.cpp ) + target_link_libraries( osrm-cli ${Boost_LIBRARIES} OSRM UUID ) endif(WITH_TOOLS)