Skip to content

Commit

Permalink
NITF contingent on GDAL being around
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jul 27, 2012
1 parent d277585 commit 049dc1b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -337,8 +337,12 @@ set (PDAL_DRIVERS_NITF_CPP
${PDAL_NITF_SRC}/Writer.cpp
)

list (APPEND PDAL_CPP ${PDAL_DRIVERS_NITF_CPP} )
list (APPEND PDAL_HPP ${PDAL_DRIVERS_NITF_HPP} )
if (GDAL_FOUND)
list (APPEND PDAL_CPP ${PDAL_DRIVERS_NITF_CPP} )
list (APPEND PDAL_HPP ${PDAL_DRIVERS_NITF_HPP} )
endif()



#
# drivers/pcd
Expand Down

0 comments on commit 049dc1b

Please sign in to comment.