Skip to content

Commit 6a4981b

Browse files
committed
Update following uibase/usvfs VCPKG packaging.
1 parent 193442e commit 6a4981b

File tree

9 files changed

+361
-298
lines changed

9 files changed

+361
-298
lines changed

src/CMakeLists.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
cmake_minimum_required(VERSION 3.16)
22

3+
find_package(usvfs CONFIG REQUIRED)
4+
find_package(mo2-uibase CONFIG REQUIRED)
5+
36
add_executable(organizer)
47
set_target_properties(organizer PROPERTIES OUTPUT_NAME "ModOrganizer")
58
mo2_configure_executable(organizer
69
WARNINGS OFF
710
EXTRA_TRANSLATIONS ${MO2_SUPER_PATH}/game_gamebryo/src ${MO2_UIBASE_PATH}/src
811
PRIVATE_DEPENDS
9-
uibase githubpp bsatk esptk archive usvfs lootcli boost::program_options
10-
DirectXTex libbsarch Qt::WebEngineWidgets Qt::WebSockets)
11-
target_link_libraries(organizer PUBLIC Shlwapi)
12-
target_include_directories(organizer PUBLIC ${DDS_ROOT})
12+
githubpp bsatk esptk archive lootcli boost::program_options
13+
Qt::WebEngineWidgets Qt::WebSockets)
14+
target_link_libraries(organizer PRIVATE Shlwapi usvfs::usvfs mo2::uibase)
1315
mo2_install_target(organizer)
1416

1517
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/dlls.manifest.qt6"

src/mainwindow.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,24 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
6060
#include "problemsdialog.h"
6161
#include "profile.h"
6262
#include "profilesdialog.h"
63-
#include "report.h"
64-
#include "savegameinfo.h"
63+
#include <uibase/report.h>
64+
#include <uibase/game_features/savegameinfo.h>
6565
#include "savestab.h"
6666
#include "selectiondialog.h"
6767
#include "serverinfo.h"
6868
#include "settingsdialog.h"
6969
#include "shared/appconfig.h"
7070
#include "spawn.h"
7171
#include "statusbar.h"
72-
#include "tutorialmanager.h"
73-
#include "versioninfo.h"
72+
#include <uibase/tutorialmanager.h>
73+
#include <uibase/versioninfo.h>
7474
#include <bsainvalidation.h>
7575
#include <dataarchives.h>
7676
#include <safewritefile.h>
7777
#include <scopeguard.h>
7878
#include <taskprogressmanager.h>
79-
#include <usvfs.h>
80-
#include <utility.h>
79+
#include <usvfs/usvfs.h>
80+
#include <uibase/utility.h>
8181

8282
#include "directoryrefresher.h"
8383
#include "shared/directoryentry.h"

0 commit comments

Comments
 (0)