From 72fd39f2989484b7098c3b226438617d9c50a3d0 Mon Sep 17 00:00:00 2001 From: "Gregory J. Ward" Date: Wed, 14 Oct 2015 20:51:44 +0000 Subject: [PATCH] Fixed issue with metafile libraries --- doc/notes/ReleaseNotes | 3 +++ src/meta/CMakeLists.txt | 19 ++++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/doc/notes/ReleaseNotes b/doc/notes/ReleaseNotes index a619122e5..d3f1c5384 100644 --- a/doc/notes/ReleaseNotes +++ b/doc/notes/ReleaseNotes @@ -2059,3 +2059,6 @@ discovered by Rob G. ================================= Version 5.1 + +Fixed issue with vchars.mta and symbols.mta not being installed in +the appropriate metafile library location, with help from Rob G. diff --git a/src/meta/CMakeLists.txt b/src/meta/CMakeLists.txt index a15d63081..4321458eb 100644 --- a/src/meta/CMakeLists.txt +++ b/src/meta/CMakeLists.txt @@ -56,6 +56,23 @@ if(X11_FOUND) install(TARGETS x11meta RUNTIME DESTINATION bin) endif() +add_custom_target(mta ALL + COMMAND cv "${CMAKE_CURRENT_SOURCE_DIR}/symbols.met" > "${CMAKE_CURRENT_BINARY_DIR}/symbols.mta" + COMMAND cv "${CMAKE_CURRENT_SOURCE_DIR}/vchars.met" > "${CMAKE_CURRENT_BINARY_DIR}/vchars.mta" + SOURCES symbols.met vchars.met +) + +install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/symbols.mta" + "${CMAKE_CURRENT_BINARY_DIR}/vchars.mta" + DESTINATION lib +) + +install(FILES symbols.met vchars.met boxw.plt curve.plt line.plt scatter.plt + cartesian.plt function.plt polar.plt standard.plt + DESTINATION lib) + install(TARGETS meta2tga pexpand psort cv psmeta plotin bgraph igraph dgraph - gcomp plot4 meta2bmp + gcomp plot4 meta2bmp RUNTIME DESTINATION bin) +