Add LoadConfigFile to Controller, include file_util src in build

This commit is contained in:
scawful
2024-11-02 10:35:26 -05:00
parent d6a4217118
commit 38dc061b75
3 changed files with 160 additions and 136 deletions

View File

@@ -5,6 +5,7 @@ set(
app/core/labeling.cc
app/emu/emulator.cc
app/core/message.cc
app/core/utils/file_util.cc
)
if (WIN32 OR MINGW OR UNIX AND NOT APPLE)
@@ -16,7 +17,7 @@ if (WIN32 OR MINGW OR UNIX AND NOT APPLE)
endif()
if(APPLE)
list(APPEND YAZE_APP_CORE_SRC
list(APPEND YAZE_APP_CORE_SRC
app/core/platform/file_dialog.mm
app/core/platform/app_delegate.mm
app/core/platform/font_loader.mm
@@ -29,4 +30,4 @@ if(APPLE)
message(FATAL_ERROR "Cocoa not found")
endif()
set(CMAKE_EXE_LINKER_FLAGS "-framework ServiceManagement -framework Foundation -framework Cocoa")
endif()
endif()