# Search and/or reverse geocoding
add_subdirectory( hostip )
add_subdirectory( json )
add_subdirectory( latlon )
add_subdirectory( local-osm-search )
add_subdirectory( localdatabase )
add_subdirectory( nominatim-search )
add_subdirectory( nominatim-reversegeocoding )
add_subdirectory( gosmore-reversegeocoding )

# Routing
add_subdirectory( gosmore-routing )
add_subdirectory( mapquest )
add_subdirectory( monav )
add_subdirectory( openrouteservice )
add_subdirectory( open-source-routing-machine )
add_subdirectory( routino )
add_subdirectory( yours )
# traveling-salesman works, but it is quite slow (tested version 1.0.3-RC1)
#add_subdirectory( traveling-salesman )

#Parsing
add_subdirectory( cache )
add_subdirectory( gpx )
add_subdirectory( kml )
add_subdirectory( osm )
add_subdirectory( pnt )
add_subdirectory( log )

find_package( libshp )
if( LIBSHP_FOUND )
  add_subdirectory( shp )
endif( LIBSHP_FOUND )

# Search and/or reverse geocoding
add_subdirectory( hostip )
add_subdirectory( json )
add_subdirectory( latlon )
add_subdirectory( local-osm-search )
add_subdirectory( localdatabase )
add_subdirectory( nominatim-search )
add_subdirectory( nominatim-reversegeocoding )
add_subdirectory( gosmore-reversegeocoding )

# Routing
add_subdirectory( gosmore-routing )
add_subdirectory( mapquest )
add_subdirectory( monav )
add_subdirectory( openrouteservice )
add_subdirectory( open-source-routing-machine )
add_subdirectory( routino )
add_subdirectory( yours )
# traveling-salesman works, but it is quite slow (tested version 1.0.3-RC1)
#add_subdirectory( traveling-salesman )

#Parsing
add_subdirectory( cache )
add_subdirectory( gpx )
add_subdirectory( kml )
add_subdirectory( osm )
add_subdirectory( pnt )
add_subdirectory( log )

macro_optional_find_package( libshp )
if( LIBSHP_FOUND )
  add_subdirectory( shp )
endif( LIBSHP_FOUND )

Fix automagic dependency on shapelib.
Fix automagic dependency on shapelib.

REVIEW: 106319
