add GPC includes only where needed. also add newmat includes
This commit is contained in:
parent
d6e7ac6b96
commit
37d07e6526
18 changed files with 31 additions and 11 deletions
|
@ -123,7 +123,6 @@ include_directories(
|
|||
${Boost_INCLUDE_DIRS}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${SIMGEAR_INCLUDE_DIR}
|
||||
${GPC_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/src)
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
|
||||
include_directories(
|
||||
${NEWMAT_INCLUDE_DIR}
|
||||
${GPC_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
add_executable(genapts
|
||||
apt_surface.hxx apt_surface.cxx
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
include_directories(
|
||||
${NEWMAT_INCLUDE_DIR}
|
||||
${GPC_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
add_executable(genapts850
|
||||
airport.hxx airport.cxx
|
||||
apt_math.hxx apt_math.cxx
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_executable(tg-construct
|
||||
construct.cxx
|
||||
construct.hxx
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_library(Match STATIC
|
||||
match.cxx match.hxx
|
||||
|
|
|
@ -2,6 +2,7 @@ if (GDAL_FOUND)
|
|||
include_directories(${GDAL_INCLUDE_DIR})
|
||||
endif (GDAL_FOUND)
|
||||
|
||||
include_directories(${GPC_INCLUDE_DIR})
|
||||
include( ${CGAL_USE_FILE} )
|
||||
|
||||
add_library(Geometry STATIC
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_library(Output STATIC
|
||||
output.cxx output.hxx
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_library(Polygon STATIC
|
||||
chop-bin.cxx
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_library(vpf STATIC
|
||||
component.cxx
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/src/Lib)
|
||||
|
||||
# seems unfortunate that lib depends on other dirs
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_executable(e00lines
|
||||
main.cxx)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_executable(gshhs
|
||||
main.cxx
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
|
||||
if (GDAL_FOUND)
|
||||
|
||||
include_directories(${GDAL_INCLUDE_DIR})
|
||||
include_directories(
|
||||
${GDAL_INCLUDE_DIR}
|
||||
${GPC_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
add_executable(ogr-decode ogr-decode.cxx)
|
||||
|
||||
target_link_libraries(ogr-decode
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_executable(photo
|
||||
photo.cxx)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_executable(shape-decode shape-decode.cxx)
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_executable(tgvpf tgvpf.cxx)
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include_directories(${GPC_INCLUDE_DIR})
|
||||
|
||||
add_executable(tguserdef tguserdef.cxx)
|
||||
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
|
||||
if (GDAL_FOUND)
|
||||
|
||||
include_directories(${GDAL_INCLUDE_DIR})
|
||||
include_directories(
|
||||
${GDAL_INCLUDE_DIR}
|
||||
${GPC_INCLUDE_DIR}
|
||||
)
|
||||
add_executable(poly2ogr poly2ogr.cxx)
|
||||
|
||||
if(MSVC)
|
||||
|
|
Loading…
Reference in a new issue