Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Fixed issue with metafile libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Oct 14, 2015
1 parent 08860a8 commit 72fd39f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/notes/ReleaseNotes
Original file line number Diff line number Diff line change
Expand Up @@ -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.
19 changes: 18 additions & 1 deletion src/meta/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 72fd39f

Please sign in to comment.