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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user