Skip to content

Commit

Permalink
Fix up rivlib tests to actually build and run
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Jan 13, 2017
1 parent 6aabf43 commit c2da3ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion plugins/rxp/CMakeLists.txt
Expand Up @@ -12,8 +12,9 @@ PDAL_ADD_PLUGIN(libname reader rxp
io/RxpReader.cpp
LINK_WITH
${RiVLib_SCANLIB_LIBRARY})
target_include_directories(${libname} PRIVATE ${RiVLib_INCLUDE_DIRS})
target_include_directories(${libname} PUBLIC ${RiVLib_INCLUDE_DIRS})

option(BUILD_RIVLIB_TESTS "Build rivlib tests" ON)
if (BUILD_RIVLIB_TESTS)
configure_file(
test/Config.hpp.in
Expand All @@ -24,5 +25,6 @@ if (BUILD_RIVLIB_TESTS)
FILES test/RxpReaderTest.cpp
LINK_WITH ${libname})
target_include_directories(${RXP_TEST_NAME} PRIVATE
${PROJECT_BINARY_DIR}/plugins/rxp/test
${PROJECT_SOURCE_DIR}/plugins/rxp/io)
endif()
1 change: 0 additions & 1 deletion plugins/rxp/test/RxpReaderTest.cpp
Expand Up @@ -39,7 +39,6 @@
#include <pdal/Options.hpp>
#include <pdal/PipelineManager.hpp>
#include <pdal/PointView.hpp>
#include "PipelineReader.hpp"

#include "RxpReader.hpp"
#include "Config.hpp"
Expand Down

0 comments on commit c2da3ad

Please sign in to comment.