summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2025-05-22 19:35:44 +0200
committerGitHub <noreply@github.com>2025-05-22 19:35:44 +0200
commita41028fafcab47ba0d07b975bbb9abde420f4335 (patch)
tree0647a4f12ea631febb62eaddef191c9f74295567 /src/CMakeLists.txt
parenteddc30a47f3daefbe4ef29b5de261a1e18949dd3 (diff)
Update following USVFS move to VCPKG. (#2244)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7188c03b..6ef3bd57 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,14 +1,16 @@
cmake_minimum_required(VERSION 3.16)
+find_package(usvfs CONFIG REQUIRED)
+
add_executable(organizer)
set_target_properties(organizer PROPERTIES OUTPUT_NAME "ModOrganizer")
mo2_configure_executable(organizer
WARNINGS OFF
EXTRA_TRANSLATIONS ${MO2_SUPER_PATH}/game_gamebryo/src ${MO2_UIBASE_PATH}/src
PRIVATE_DEPENDS
- uibase githubpp bsatk esptk archive usvfs lootcli boost::program_options
+ uibase githubpp bsatk esptk archive lootcli boost::program_options
DirectXTex libbsarch Qt::WebEngineWidgets Qt::WebSockets)
-target_link_libraries(organizer PUBLIC Shlwapi)
+target_link_libraries(organizer PUBLIC usvfs::usvfs Shlwapi)
target_include_directories(organizer PUBLIC ${DDS_ROOT})
mo2_install_target(organizer)