Skip to content

Commit

Permalink
Install NumpyReader.hpp for use by Python extension
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Apr 6, 2018
1 parent e7f360c commit 1aa029a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions plugins/python/io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ target_include_directories(${numpy_reader} PRIVATE
target_link_libraries(${numpy_reader} PUBLIC
${PYTHON_LIBRARY})

# Install headers so Python extension
# can use them later

install(DIRECTORY .
DESTINATION include/pdal/io
FILES_MATCHING PATTERN "*.hpp"
PATTERN "CMakeFiles" EXCLUDE
)

if (WITH_TESTS)
PDAL_ADD_TEST(pdal_io_numpy_test
FILES
Expand Down

0 comments on commit 1aa029a

Please sign in to comment.