Commit 6d64b4aa authored by Kenneth Leiter's avatar Kenneth Leiter

COMP: Fix testing by using LDPATH = library directories rather than paths

to the libraries.
parent 65d1f846
......@@ -7,7 +7,7 @@ ADD_TEST_CXX_DEPENDENCIES("XdmfCore")
# Add any ldpath directories that the cxx tests may need
ADD_TEST_CXX_LDPATH("${CMAKE_BINARY_DIR}")
ADD_TEST_CXX_LDPATH("${XDMF_LIBRARIES}")
ADD_TEST_CXX_LDPATH("${XDMF_LIBRARY_DIRS}")
# Add any path directoreis that the Cxx tests may need
ADD_TEST_CXX_PATH("${CMAKE_BINARY_DIR}")
......
......@@ -9,8 +9,7 @@ ADD_TEST_PYTHON_PYTHONPATH("${CMAKE_BINARY_DIR}")
# Add any ldpath directories that the python tests may need
ADD_TEST_PYTHON_LDPATH("${CMAKE_BINARY_DIR}")
ADD_TEST_PYTHON_LDPATH("${HDF5_LIBRARIES}")
ADD_TEST_PYTHON_LDPATH("${LIBXML2_LIBRARIES}")
ADD_TEST_PYTHON_LDPATH("${XDMF_LIBRARY_DIRS}")
# Add any path directories that the python tests may need
ADD_TEST_PYTHON_PATH("${CMAKE_BINARY_DIR}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment