Skip to content

Commit

Permalink
Copy fonts and create fontcap
Browse files Browse the repository at this point in the history
  • Loading branch information
HuidaeCho committed Apr 22, 2024
1 parent 023fb24 commit cc7fb73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions general/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ build_program_in_subdir(g.mapset DEPENDS grass_gis)
build_program_in_subdir(g.mapsets DEPENDS grass_gis grass_parson)
build_program_in_subdir(g.message DEPENDS grass_gis)
build_program_in_subdir(g.mkfontcap DEPENDS grass_gis FREETYPE)
add_dependencies(g.mkfontcap fonts)
build_program_in_subdir(g.parser DEPENDS grass_gis FREETYPE)
build_program_in_subdir(g.pnmcomp DEPENDS grass_gis)
if(WITH_LIBPNG)
Expand Down
7 changes: 6 additions & 1 deletion lib/fonts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# TODO
add_custom_target(
fonts
COMMAND ${CMAKE_COMMAND} -E make_directory ${GISBASE}/fonts
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/fonts/[a-z]*.[a-z]* ${GISBASE}/fonts
COMMAND ${grass_env_command} ${GISBASE}/bin/g.mkfontcap)

0 comments on commit cc7fb73

Please sign in to comment.