fix: Update platform conditionals to include UNIX for asset handling

This commit is contained in:
scawful
2025-10-02 19:41:39 -04:00
parent 5aa4fb5b56
commit 0bd9e64c43
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ else()
)
# Add asset files for Windows/Linux builds
if(WIN32 OR LINUX)
if(WIN32 OR UNIX)
target_sources(yaze PRIVATE ${YAZE_RESOURCE_FILES})
# Set up asset deployment for Visual Studio

View File

@@ -7,7 +7,7 @@ set(
app/core/asar_wrapper.cc
)
if (WIN32 OR MINGW OR UNIX AND NOT APPLE)
if (WIN32 OR MINGW OR (UNIX AND NOT APPLE))
list(APPEND YAZE_APP_CORE_SRC
app/core/platform/font_loader.cc
app/core/platform/file_dialog.cc