Commit 5e296c3b authored by Ben Boeckel's avatar Ben Boeckel

cmake: remove unused XDMF_BINARIES variable tracking

parent 0a030bab
......@@ -56,13 +56,9 @@ if(HDF5_FOUND)
endif()
endif ()
endif()
get_filename_component(HDF5_ROOT "${HDF5_INCLUDE_DIR}/../" REALPATH)
set(HDF5_BINARY_DIRS ${HDF5_ROOT}/bin ${HDF5_ROOT}/dll)
if (NOT HDF5_LIBRARIES)
find_library (HDF5_LIBRARIES hdf5 HINTS ${HDF5_ROOT} ENV LD_LIBRARY_PATH)
endif ()
set(XDMF_HDF5_BINARY_DIRS ${HDF5_BINARY_DIRS} PARENT_SCOPE)
set(XDMF_BINARIES ${XDMF_BINARIES} ${HDF5_BINARY_DIRS})
endif()
......@@ -72,10 +68,6 @@ set(LIBXML2_FOUND TRUE)
find_package(LibXml2 REQUIRED)
if(LIBXML2_FOUND)
include_directories(${LIBXML2_INCLUDE_DIR})
get_filename_component(LIBXML2_ROOT "${LIBXML2_INCLUDE_DIR}/../" REALPATH)
set(LIBXML2_BINARY_DIRS ${LIBXML2_ROOT}/bin)
set(LIBXML2_BINARY_DIRS ${LIBXML2_BINARY_DIRS} PARENT_SCOPE)
set(XDMF_BINARIES ${XDMF_BINARIES} ${LIBXML2_BINARY_DIRS})
endif()
# Perform compile-time checks and generate XdmfCoreConfig.hpp
......@@ -245,7 +237,6 @@ set(XdmfCore_INCLUDE_DIRS
set(XDMF_INCLUDE_DIRS ${CMAKE_INSTALL_PREFIX}/include PARENT_SCOPE)
set(XDMF_DIR ${CMAKE_INSTALL_PREFIX} PARENT_SCOPE)
set(XDMF_BINARIES ${XDMF_BINARIES} ${CMAKE_INSTALL_PREFIX}/bin)
if(XDMF_BUILD_DSM)
add_subdirectory(dsm)
......@@ -255,5 +246,3 @@ endif(XDMF_BUILD_DSM)
if(XDMF_BUILD_TESTING)
add_subdirectory(tests)
endif()
set(XDMF_BINARIES ${XDMF_BINARIES} PARENT_SCOPE)
......@@ -11,7 +11,6 @@ ADD_TEST_C_LDPATH("${CMAKE_BINARY_DIR}")
# Add any path directoreis that the Cxx tests may need
ADD_TEST_C_PATH("${CMAKE_BINARY_DIR}")
ADD_TEST_C_PATH("${XDMF_BINARIES}")
# Add any cxx tests here:
# Note: We don't want to use a foreach loop to test the files incase we
......
......@@ -11,7 +11,6 @@ ADD_TEST_CXX_LDPATH("${CMAKE_BINARY_DIR}")
# Add any path directoreis that the Cxx tests may need
ADD_TEST_CXX_PATH("${CMAKE_BINARY_DIR}")
ADD_TEST_CXX_PATH("${XDMF_BINARIES}")
# Add any cxx tests here:
# Note: We don't want to use a foreach loop to test the files incase we
......
......@@ -10,7 +10,6 @@ ADD_TEST_C_LDPATH("${CMAKE_BINARY_DIR}")
# Add any path directoreis that the Cxx tests may need
ADD_TEST_C_PATH("${CMAKE_BINARY_DIR}")
ADD_TEST_C_PATH("${XDMF_BINARIES}")
# Add any cxx tests here:
# Note: We don't want to use a foreach loop to test the files incase we
......
......@@ -10,7 +10,6 @@ ADD_TEST_CXX_LDPATH("${CMAKE_BINARY_DIR}")
# Add any path directoreis that the Cxx tests may need
ADD_TEST_CXX_PATH("${CMAKE_BINARY_DIR}")
ADD_TEST_CXX_PATH("${XDMF_BINARIES}")
# Add any cxx tests here:
# Note: We don't want to use a foreach loop to test the files incase we
......
......@@ -12,7 +12,6 @@ ADD_TEST_JAVA_LDPATH("${CMAKE_BINARY_DIR}")
# Add any path directories that the java tests may need
ADD_TEST_JAVA_PATH("${CMAKE_BINARY_DIR}")
ADD_TEST_JAVA_PATH("${XDMF_BINARIES}")
# Add any java tests here:
# Note: We don't want to use a foreach loop to test the files incase we
......
......@@ -10,7 +10,6 @@ ADD_TEST_C_LDPATH("${CMAKE_BINARY_DIR}")
# Add any path directoreis that the Cxx tests may need
ADD_TEST_C_PATH("${CMAKE_BINARY_DIR}")
ADD_TEST_C_PATH("${XDMF_BINARIES}")
# Add any cxx tests here:
# Note: We don't want to use a foreach loop to test the files incase we
......
......@@ -11,7 +11,6 @@ ADD_TEST_C_LDPATH("${CMAKE_BINARY_DIR}")
# Add any path directoreis that the Cxx tests may need
ADD_TEST_C_PATH("${CMAKE_BINARY_DIR}")
ADD_TEST_C_PATH("${XDMF_BINARIES}")
# Add any cxx tests here:
# Note: We don't want to use a foreach loop to test the files incase we
......
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