1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Start Simplifying CMake code (#24177)

* Use generator expressions

* Update cmake minimum

* Move options and remove project name

* Use further generator expressions

* Try upgrading to CMake 3.25 on Ubuntu 22.04 CI

Install software-properties-common

* Standardise with DISABLE_TTF for disable defines

* Set X64 var differently due to unknown reasons

---------

Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com>
This commit is contained in:
Duncan
2025-04-11 16:09:52 +01:00
committed by GitHub
parent 87765d662d
commit d5de6c2b49
26 changed files with 177 additions and 209 deletions

View File

@@ -163,7 +163,7 @@ namespace OpenRCT2::Platform
return {};
}
#ifndef NO_TTF
#ifndef DISABLE_TTF
std::string GetFontPath(const TTFFontDescriptor& font)
{
auto expectedPath = std::string("/system/fonts/") + std::string(font.filename);