Skip to content

Commit

Permalink
add libraries to get things linking
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed May 8, 2018
1 parent 2dfb274 commit 04886e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/oci/CMakeLists.txt
Expand Up @@ -46,7 +46,7 @@ if(BUILD_OCI_TESTS)
PDAL_ADD_TEST(ocitest
FILES
test/OCITest.cpp
LINK_WITH ${reader_libname} ${writer_libname})
LINK_WITH ${reader_libname} ${writer_libname} ${GDAL_LIBRARY} ${LIBXML2_LIBRARY})
target_include_directories(ocitest PRIVATE
${ORACLE_INCLUDE_DIR}
${LIBXML2_INCLUDE_DIR})
Expand Down
2 changes: 1 addition & 1 deletion plugins/python/filters/CMakeLists.txt
Expand Up @@ -20,6 +20,6 @@ if (WITH_TESTS)
FILES
../test/PythonFilterTest.cpp
LINK_WITH
${python_libname}
${python_libname} ${PYTHON_LIBRARY}
)
endif()
2 changes: 1 addition & 1 deletion plugins/python/io/CMakeLists.txt
Expand Up @@ -25,5 +25,5 @@ if (WITH_TESTS)
FILES
../test/NumpyReaderTest.cpp
LINK_WITH
${numpy_reader})
${numpy_reader} ${PYTHON_LIBRARY})
endif()
1 change: 1 addition & 0 deletions plugins/sqlite/CMakeLists.txt
Expand Up @@ -42,6 +42,7 @@ if(BUILD_SQLITE_TESTS)
${reader_libname}
${writer_libname}
${SQLITE3_LIBRARY}
${LIBXML2_LIBRARY}
)
target_include_directories(sqlitetest PRIVATE
${PDAL_IO_DIR}
Expand Down

0 comments on commit 04886e2

Please sign in to comment.