From ceddfbd26a45d6893464aec3c5041beb8c1e3364 Mon Sep 17 00:00:00 2001 From: lzwdgc Date: Sat, 20 Apr 2024 22:46:49 +0300 Subject: [PATCH] Correctly add model dependency for mod_converter2. --- src/mod_converter2/mod_converter2.cpp | 2 +- sw.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mod_converter2/mod_converter2.cpp b/src/mod_converter2/mod_converter2.cpp index a228f16..2037ad6 100644 --- a/src/mod_converter2/mod_converter2.cpp +++ b/src/mod_converter2/mod_converter2.cpp @@ -17,7 +17,7 @@ */ #include "mmap.h" -#include "../model/model.h" +#include "model.h" #include #include diff --git a/sw.cpp b/sw.cpp index d6fb5fa..3a621ed 100644 --- a/sw.cpp +++ b/sw.cpp @@ -59,7 +59,6 @@ void build(Solution &s) add_exe_with_common("tm_converter"); add_exe("name_generator"); add_exe_with_common("save_loader"); - add_exe_with_common("mod_converter2"); add_exe_with_common("bms_converter"); add_exe_with_common("rgb_converter"); add_exe_with_common("unpaker") += @@ -80,6 +79,8 @@ void build(Solution &s) ; } + add_exe_with_common("mod_converter2") += model; + auto &language_switcher = tools.addExecutable("aim1.language_switcher"); { auto &t = language_switcher;