summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5898132..1292194 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,3 +1,4 @@
+qt_add_library(BobinkQtOpcUa STATIC)
# BobinkQtOpcUa — QML module wrapping QtOpcUa for declarative use.
qt_add_qml_module(
BobinkQtOpcUa
@@ -15,4 +16,4 @@ qt_add_qml_module(
OUTPUT_DIRECTORY
"${CMAKE_BINARY_DIR}/qml/Bobink")
-target_link_libraries(BobinkQtOpcUa PRIVATE Qt6::Core Qt6::Quick Qt6::OpcUa)
+target_link_libraries(BobinkQtOpcUa PUBLIC Qt6::Core Qt6::Quick Qt6::OpcUa)