From 64d4edccd61c5c30a03a1392a023a3b33d9b55c2 Mon Sep 17 00:00:00 2001 From: Dynamitos Date: Tue, 1 Jul 2025 21:31:36 +0200 Subject: [PATCH] Seele is now a submodule for testing --- CMakeLists.txt | 2 +- src/Editor/main.cpp | 4 ++-- src/Engine/Platform/Linux/GameInterface.cpp | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 66cfcec..082a38f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,7 +157,7 @@ else() endif() add_custom_target(SeeleEngine ALL - COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/res $ + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/res $ COMMAND_EXPAND_LISTS DEPENDS Editor dll_copy) diff --git a/src/Editor/main.cpp b/src/Editor/main.cpp index 0eda3f6..3872bc7 100644 --- a/src/Editor/main.cpp +++ b/src/Editor/main.cpp @@ -26,8 +26,8 @@ static Gfx::OGraphics graphics; int main() { std::string gameName = "MeshShadingDemo"; - std::filesystem::path outputPath = fmt::format("../../{0}Game", gameName); - std::filesystem::path sourcePath = fmt::format("../../{0}", gameName); + std::filesystem::path outputPath = fmt::format("../../../../{0}Game", gameName); + std::filesystem::path sourcePath = fmt::format("../../../../{0}", gameName); #ifdef WIN32 std::string libraryEnding = "dll"; #elif __APPLE__ diff --git a/src/Engine/Platform/Linux/GameInterface.cpp b/src/Engine/Platform/Linux/GameInterface.cpp index 9eb22c7..b5a2b60 100644 --- a/src/Engine/Platform/Linux/GameInterface.cpp +++ b/src/Engine/Platform/Linux/GameInterface.cpp @@ -1,4 +1,5 @@ #include "GameInterface.h" +#include using namespace Seele;