Modify cmake install to install OSMesa in lib directory.
# Only set HAVE_OSMESA flag when both OSMESA_LIBRARY and MESAGL_LIBRARY
# are set.
#
+# Eric Brugger, Tue Feb 26 12:55:26 PST 2019
+# Add logic to install libOSMesa in lib directory.
+#
#****************************************************************************/
# Use the OSMESA_DIR hint from the config-site .cmake file
@@ -219,6 +222,12 @@ if (VISIT_OSMESA_DIR)
GROUP_READ GROUP_WRITE GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
CONFIGURATIONS "" None Debug Release RelWithDebInfo MinSizeRel)
+ install(FILES ${OSMESA_LIBRARY}
+ DESTINATION ${VISIT_INSTALLED_VERSION_LIB}
+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
+ GROUP_READ GROUP_WRITE GROUP_EXECUTE
+ WORLD_READ WORLD_EXECUTE
+ CONFIGURATIONS "" None Debug Release RelWithDebInfo MinSizeRel)
endif(VISIT_OSMESA_DIR)
