File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ if(MSVC)
48
48
find_library (GETOPT_LIBRARY NAMES wingetopt)
49
49
if (GETOPT_INCLUDE_DIR AND GETOPT_LIBRARY)
50
50
include_directories (${GETOPT_INCLUDE_DIR} )
51
- list (APPEND OSMIUM_LIBRARIES ${GETOPT_LIBRARY} )
52
51
else ()
53
52
set (GETOPT_MISSING 1)
54
53
endif ()
@@ -240,6 +239,7 @@ endif(PANDOC)
240
239
#-----------------------------------------------------------------------------
241
240
242
241
find_library (GEOS_C_LIBRARIES NAMES geos_c)
242
+ include_directories (SYSTEM ${GEOS_C_INCLUDE_DIR} )
243
243
244
244
add_definitions (${OSMIUM_WARNING_OPTIONS} )
245
245
Original file line number Diff line number Diff line change 7
7
#-----------------------------------------------------------------------------
8
8
9
9
add_executable (osmcoastline osmcoastline.cpp coastline_ring.cpp coastline_ring_collection.cpp coastline_polygons.cpp output_database.cpp srs.cpp options .cpp)
10
- target_link_libraries (osmcoastline ${OSMIUM_IO_LIBRARIES} ${GDAL_LIBRARIES} ${GEOS_C_LIBRARIES} )
10
+ target_link_libraries (osmcoastline ${OSMIUM_IO_LIBRARIES} ${GDAL_LIBRARIES} ${GEOS_C_LIBRARIES} ${GETOPT_LIBRARY} )
11
11
install (TARGETS osmcoastline DESTINATION bin)
12
12
13
13
add_executable (osmcoastline_filter osmcoastline_filter.cpp)
14
- target_link_libraries (osmcoastline_filter ${OSMIUM_IO_LIBRARIES} )
14
+ target_link_libraries (osmcoastline_filter ${OSMIUM_IO_LIBRARIES} ${GETOPT_LIBRARY} )
15
15
install (TARGETS osmcoastline_filter DESTINATION bin)
16
16
17
17
add_executable (osmcoastline_segments osmcoastline_segments.cpp srs.cpp)
18
- target_link_libraries (osmcoastline_segments ${GDAL_LIBRARIES} )
18
+ target_link_libraries (osmcoastline_segments ${GDAL_LIBRARIES} ${GETOPT_LIBRARY} )
19
19
install (TARGETS osmcoastline_segments DESTINATION bin)
20
20
21
21
add_executable (osmcoastline_ways osmcoastline_ways.cpp return_codes.hpp)
You can’t perform that action at this time.
0 commit comments