Skip to content

Commit

Permalink
NITF needs GDAL, apparently.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed May 3, 2018
1 parent 22c3395 commit e9f6aaa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -64,6 +64,11 @@ ipch/
.idea
*.iml

#
# Vim backup
#
*.*~

#
# doxygen cruft
#
Expand Down
8 changes: 6 additions & 2 deletions plugins/nitf/CMakeLists.txt
Expand Up @@ -16,7 +16,9 @@ PDAL_ADD_PLUGIN(reader_libname reader nitf
io/tre_plugins.cpp
io/NitfReader.cpp
LINK_WITH
${NITRO_LIBRARIES})
${NITRO_LIBRARIES}
${GDAL_LIBRARY}
)
target_include_directories(${reader_libname} PRIVATE
${PDAL_VENDOR_DIR}/pdalboost
${PDAL_JSONCPP_INCLUDE_DIR}
Expand All @@ -33,7 +35,9 @@ PDAL_ADD_PLUGIN(writer_libname writer nitf
io/MetadataReader.cpp
io/tre_plugins.cpp
LINK_WITH
${NITRO_LIBRARIES})
${NITRO_LIBRARIES}
${GDAL_LIBRARY}
)
target_include_directories(${writer_libname} PRIVATE
${PDAL_VENDOR_DIR}/pdalboost
${PDAL_JSONCPP_INCLUDE_DIR}
Expand Down

0 comments on commit e9f6aaa

Please sign in to comment.