diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ade6a8..1739e25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ set (mapgen_VERSION_MAJOR 0) set (mapgen_VERSION_MINOR 1) file(GLOB SOURCE "src/*.cpp" "include/mapgen/*.h") +file(COPY "font.otf" DESTINATION "bin/font.otf") configure_file ( "${PROJECT_SOURCE_DIR}/MapgenConfig.h.in" diff --git a/font.otf b/font.otf new file mode 100644 index 0000000..89f0e33 Binary files /dev/null and b/font.otf differ diff --git a/src/main.cpp b/src/main.cpp index ae4cae9..0303502 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -156,7 +156,7 @@ int main() bool isIncreasing{ true }; sf::Font sffont; - sffont.loadFromFile("/home/alexeynabrodov/.fonts/FiraCode-Medium.otf"); + sffont.loadFromFile("font.otf"); sf::Clock deltaClock; sf::Clock clock;