Modify FindADIOS2 to handle ADIOS2 libraries installed in lib64.
# Kathleen Biagas, Tues Oct 1 09:33:47 MST 2013
# Removed logic handling windows differently than other platforms.
#
+# Eric Brugger, Thu Jun 27 09:36:06 PDT 2019
+# Modified to handle the fact that ADIOS2 usually installs the libraries
+# in the directory lib64 instead of lib.
+#
#****************************************************************************/
# Use the ADIOS_DIR hint from the config-site .cmake file
INCLUDE(${VISIT_SOURCE_DIR}/CMake/SetUpThirdParty.cmake)
-SET_UP_THIRD_PARTY(ADIOS2 lib include adios2)
+IF(EXISTS ${VISIT_ADIOS2_DIR}/lib64)
+ SET(LIB lib64)
+ELSE()
+ SET(LIB lib)
+ENDIF()
+
+SET_UP_THIRD_PARTY(ADIOS2 ${LIB} include adios2)
IF(VISIT_PARALLEL)
- SET_UP_THIRD_PARTY(ADIOS2_PAR lib include adios2)
+ SET_UP_THIRD_PARTY(ADIOS2_PAR ${LIB} include adios2)
ENDIF(VISIT_PARALLEL)
