fail hard when building tools and not all prequisites are met
This commit is contained in:
parent
63381ad221
commit
31fbf99109
@ -263,6 +263,8 @@ if(WITH_TOOLS)
|
|||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
osrm-components
|
osrm-components
|
||||||
${GDAL_LIBRARIES} ${Boost_LIBRARIES} FINGERPRINT GITDESCRIPTION COORDLIB)
|
${GDAL_LIBRARIES} ${Boost_LIBRARIES} FINGERPRINT GITDESCRIPTION COORDLIB)
|
||||||
|
else()
|
||||||
|
message(FATAL_ERROR "libgdal and/or development headers not found")
|
||||||
endif()
|
endif()
|
||||||
add_executable(osrm-cli Tools/simpleclient.cpp)
|
add_executable(osrm-cli Tools/simpleclient.cpp)
|
||||||
target_link_libraries(osrm-cli ${Boost_LIBRARIES} ${OPTIONAL_SOCKET_LIBS} OSRM FINGERPRINT GITDESCRIPTION)
|
target_link_libraries(osrm-cli ${Boost_LIBRARIES} ${OPTIONAL_SOCKET_LIBS} OSRM FINGERPRINT GITDESCRIPTION)
|
||||||
|
Loading…
Reference in New Issue
Block a user