summaryrefslogtreecommitdiff
path: root/navit/maptool
diff options
context:
space:
mode:
authorJoseph Herlant <herlantj@gmail.com>2018-05-25 22:07:28 -0700
committerJoseph Herlant <aerostitch@users.noreply.github.com>2018-05-25 22:17:50 -0700
commit2a103031eb73c1180287a176e7e9d2e006729329 (patch)
tree671ee7734f701c5e4970fd7d2a4d979cc53bbc2c /navit/maptool
parent41a1264cdd43a11695de85eab0bd3c941abf2b70 (diff)
downloadnavit-2a103031eb73c1180287a176e7e9d2e006729329.tar.gz
cleanup:cmake:retab all CMakeLists.txt files
Diffstat (limited to 'navit/maptool')
-rw-r--r--navit/maptool/CMakeLists.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/navit/maptool/CMakeLists.txt b/navit/maptool/CMakeLists.txt
index e208eeea5..b9df91dd4 100644
--- a/navit/maptool/CMakeLists.txt
+++ b/navit/maptool/CMakeLists.txt
@@ -1,20 +1,20 @@
if(BUILD_MAPTOOL)
- add_definitions( -DMODULE=maptool ${NAVIT_COMPILE_FLAGS})
- include_directories(${CMAKE_CURRENT_SOURCE_DIR})
- SET(MAPTOOL_SOURCE boundaries.c buffer.c ch.c coastline.c itembin.c itembin_buffer.c misc.c osm.c osm_o5m.c osm_psql.c osm_relations.c sourcesink.c tempfile.c tile.c zip.c osm_xml.c)
- if(NOT MSVC)
- SET(MAPTOOL_SOURCE ${MAPTOOL_SOURCE} osm_protobuf.c osm_protobufdb.c generated-code/fileformat.pb-c.c generated-code/osmformat.pb-c.c google/protobuf-c/protobuf-c.c)
- endif(NOT MSVC)
- add_library (maptool_core ${MAPTOOL_SOURCE})
- add_executable (maptool maptool.c)
- if(NOT MSVC)
- SET(NAVIT_LIBS ${NAVIT_LIBS} m)
- endif(NOT MSVC)
- target_link_libraries(maptool maptool_core ${NAVIT_LIBNAME} ${NAVIT_LIBS})
+ add_definitions( -DMODULE=maptool ${NAVIT_COMPILE_FLAGS})
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+ SET(MAPTOOL_SOURCE boundaries.c buffer.c ch.c coastline.c itembin.c itembin_buffer.c misc.c osm.c osm_o5m.c osm_psql.c osm_relations.c sourcesink.c tempfile.c tile.c zip.c osm_xml.c)
+ if(NOT MSVC)
+ SET(MAPTOOL_SOURCE ${MAPTOOL_SOURCE} osm_protobuf.c osm_protobufdb.c generated-code/fileformat.pb-c.c generated-code/osmformat.pb-c.c google/protobuf-c/protobuf-c.c)
+ endif(NOT MSVC)
+ add_library (maptool_core ${MAPTOOL_SOURCE})
+ add_executable (maptool maptool.c)
+ if(NOT MSVC)
+ SET(NAVIT_LIBS ${NAVIT_LIBS} m)
+ endif(NOT MSVC)
+ target_link_libraries(maptool maptool_core ${NAVIT_LIBNAME} ${NAVIT_LIBS})
- install(TARGETS maptool
- DESTINATION ${BIN_DIR}
- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+ install(TARGETS maptool
+ DESTINATION ${BIN_DIR}
+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
endif()