1
0
Fork 0

Build poly2ogr under Windows

This commit is contained in:
Frederic Bouvier 2011-10-26 22:22:23 +02:00
parent e8e4d885c5
commit 9a8635a4a3

View file

@ -4,9 +4,13 @@ if (GDAL_FOUND)
include_directories(${GDAL_INCLUDE_DIR})
add_executable(poly2ogr poly2ogr.cxx)
if(MSVC)
set (GETOPT_LIB Terra)
endif(MSVC)
target_link_libraries(poly2ogr
${GDAL_LIBRARY}
Polygon
Polygon ${GETOPT_LIB}
${SIMGEAR_CORE_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
)