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.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/uibase/src/CMakeLists.txt b/libs/uibase/src/CMakeLists.txt
index fff3ac3..3015be3 100644
--- a/libs/uibase/src/CMakeLists.txt
+++ b/libs/uibase/src/CMakeLists.txt
@@ -187,6 +187,10 @@ target_link_libraries(uibase
PUBLIC Qt6::Widgets Qt6::Network Qt6::QuickWidgets
PRIVATE spdlog::spdlog_header_only Qt6::Qml Qt6::Quick)
+if(NOT WIN32 AND TARGET mo2::nak_ffi)
+ target_link_libraries(uibase PRIVATE mo2::nak_ffi)
+endif()
+
# installation
install(TARGETS uibase EXPORT uibaseTargets
LIBRARY DESTINATION lib