CMakeLists: Add Mod Downloader Files

Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
Collecting
2026-01-16 08:26:30 +00:00
parent 6cfbe6fd34
commit c1664e28da

View File

@@ -284,6 +284,17 @@ if (CITRON_USE_AUTO_UPDATER)
target_link_libraries(citron PRIVATE Qt6::Network)
endif()
# Mod Manager functionality for downloading patches
target_sources(citron PRIVATE
mod_manager/mod_service.cpp
mod_manager/mod_service.h
mod_manager/mod_downloader_dialog.cpp
mod_manager/mod_downloader_dialog.h
mod_manager/mod_downloader_dialog.ui
)
target_link_libraries(citron PRIVATE Qt6::Network)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_definitions(citron PRIVATE
$<$<VERSION_LESS:$<CXX_COMPILER_VERSION>,15>:CANNOT_EXPLICITLY_INSTANTIATE>