From 32a686a0378e13f61a93e60aac531f94bfa5e491 Mon Sep 17 00:00:00 2001 From: luigino Date: Mon, 20 Nov 2017 17:23:22 +0100 Subject: [PATCH] qtsingleapplication should always be built statically to avoid dependency problems --- src/app/qtsingleapplication/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/qtsingleapplication/CMakeLists.txt b/src/app/qtsingleapplication/CMakeLists.txt index 6571c1f8e..8c2dfcfcd 100644 --- a/src/app/qtsingleapplication/CMakeLists.txt +++ b/src/app/qtsingleapplication/CMakeLists.txt @@ -16,7 +16,7 @@ else (GUI) list(APPEND QBT_QTSINGLEAPPLICATION_SOURCES qtsinglecoreapplication.cpp) endif (GUI) -add_library(qtsingleapplication ${QBT_QTSINGLEAPPLICATION_HEADERS} ${QBT_QTSINGLEAPPLICATION_SOURCES}) +add_library(qtsingleapplication STATIC ${QBT_QTSINGLEAPPLICATION_HEADERS} ${QBT_QTSINGLEAPPLICATION_SOURCES}) target_include_directories(qtsingleapplication INTERFACE "${qtsingleapplication_SOURCE_DIR}") target_link_qt_components(qtsingleapplication Network)