From 0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sat, 26 Jun 2021 05:59:42 +0500 Subject: Moved font downloading to CMake --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e7d166a..4ad24cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,3 +212,5 @@ endif() if(MSVC AND CMAKE_BUILD_TYPE MATCHES Release) set_target_properties(AltCraft PROPERTIES WIN32_EXECUTABLE ON) endif() + +file(DOWNLOAD https://github.com/google/fonts/raw/main/apache/opensans/OpenSans%5Bwdth%2Cwght%5D.ttf ${CMAKE_SOURCE_DIR}/cwd/assets/altcraft/fonts/OpenSans-Regular.ttf) -- cgit v1.2.3