aboutsummaryrefslogtreecommitdiff
path: root/libs/uibase/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/uibase/src/CMakeLists.txt')
-rw-r--r--libs/uibase/src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/uibase/src/CMakeLists.txt b/libs/uibase/src/CMakeLists.txt
index 5660289..c823290 100644
--- a/libs/uibase/src/CMakeLists.txt
+++ b/libs/uibase/src/CMakeLists.txt
@@ -188,6 +188,10 @@ target_link_libraries(uibase
PRIVATE spdlog::spdlog_header_only Qt6::Qml Qt6::Quick)
if(NOT WIN32)
+ target_link_libraries(uibase PRIVATE mo2::steam_appinfo_ffi)
+endif()
+
+if(NOT WIN32)
# Native C++ ports of game detection, Steam/Proton detection, SLR management,
# icon extraction, and prefix symlinks (formerly in Rust nak_ffi).
# Use BUILD_INTERFACE to avoid "prefixed in the source directory" CMake error.
@@ -200,6 +204,7 @@ if(NOT WIN32)
${CMAKE_SOURCE_DIR}/src/src/iconextractor.cpp
${CMAKE_SOURCE_DIR}/src/src/prefixsymlinks.cpp
${CMAKE_SOURCE_DIR}/src/src/slrmanager.cpp
+ ${CMAKE_SOURCE_DIR}/src/src/steamappinfo.cpp
)
endif()