copy font from source
This commit is contained in:
parent
7e3096cbcb
commit
1d832307ad
|
@ -219,6 +219,10 @@ if(USE_FONT)
|
|||
INSTALL ( FILES ${USE_FONT} DESTINATION share/games/pianobooster/fonts)
|
||||
endif()
|
||||
|
||||
if(NOT USE_SYSTEM_FONT)
|
||||
INSTALL ( FILES fonts/DejaVuSans.ttf DESTINATION share/games/pianobooster/fonts)
|
||||
endif()
|
||||
|
||||
#INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/translations/*.qm DESTINATION share/pianobooster/translations/ )
|
||||
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ public:
|
|||
}
|
||||
}
|
||||
if (font==nullptr){
|
||||
ppLogError(tr("font DejaVuSans.ttf not found !").toStdString().c_str());
|
||||
ppLogError("Font DejaVuSans.ttf was not found !");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue