fix linux compilation

This commit is contained in:
Gregory Wells
2025-07-04 10:00:49 -04:00
parent 7313964c7a
commit 16c5d8cff2
4 changed files with 15 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ project(GryphnVulkanImpl)
add_compile_definitions(GN_REVEAL_IMPL)
file(GLOB_RECURSE SOURCE_FILES CONFIGURE_DEPENDS "src/*.c" "src/*.h")
file(GLOB_RECURSE LOADER_FILES CONFIGURE_DEPENDS "loader/*.c" "loader/*.h")
file(GLOB_RECURSE LOADER_FILES CONFIGURE_DEPENDS "loader/*.c")
if (APPLE)
file(GLOB_RECURSE METAL_FILES CONFIGURE_DEPENDS "src/*.m")
endif()

View File

@@ -1,6 +1,6 @@
#pragma once
#include "gryphn_rendering_api.h"
#include "gryphn_handles.h"
#include "core/src/gryphn_rendering_api.h"
#include "core/src/gryphn_handles.h"
#include "utils/gryphn_version.h"
#include "utils/gryphn_error_code.h"
#include "loader/src/gryphn_loader.h"

View File

@@ -7,6 +7,7 @@
#include <apis/metal/loader/metal_loader.h>
#endif
#include "stdio.h"
#include "core/src/instance/gryphn_instance.h"
// load the speedy API functions or something like that