From 98e238b65f3016203e8b3efdc4577aaa3ac0efeb Mon Sep 17 00:00:00 2001
From: panchenbo <panchenbo@uniontech.com>
Date: Fri, 16 Jul 2021 08:54:33 +0800
Subject: [PATCH] fix for UnionTech

---
 src/cryfs-cli/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cryfs-cli/CMakeLists.txt b/src/cryfs-cli/CMakeLists.txt
index 07a0ad5..5b13f23 100644
--- a/src/cryfs-cli/CMakeLists.txt
+++ b/src/cryfs-cli/CMakeLists.txt
@@ -11,7 +11,7 @@ set(SOURCES
         program_options/Parser.cpp
 )
 
-add_library(${PROJECT_NAME} ${SOURCES})
+add_library(${PROJECT_NAME} STATIC ${SOURCES})
 target_link_libraries(${PROJECT_NAME} PUBLIC cryfs cpp-utils gitversion)
 target_enable_style_warnings(${PROJECT_NAME})
 target_activate_cpp14(${PROJECT_NAME})
-- 
2.20.1

