Build poly2ogr under Windows
This commit is contained in:
parent
e8e4d885c5
commit
9a8635a4a3
1 changed files with 5 additions and 1 deletions
|
@ -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}
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue