From 00c932cc63b2781ef7425661a536c3ebbbd42274 Mon Sep 17 00:00:00 2001 From: yossizap Date: Fri, 5 Feb 2021 22:11:14 +0000 Subject: [PATCH] Change cutterlib to static --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4d6d27111..9fae25fbe 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -423,7 +423,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" endif() list(REMOVE_ITEM SOURCES Main.cpp) -add_library(CutterLib OBJECT ${UI_FILES} ${QRC_FILES} ${PLATFORM_RESOURCES} ${SOURCES} ${HEADER_FILES} ${BINDINGS_SOURCE}) +add_library(CutterLib STATIC ${UI_FILES} ${QRC_FILES} ${PLATFORM_RESOURCES} ${SOURCES} ${HEADER_FILES} ${BINDINGS_SOURCE}) add_executable(Cutter Main.cpp) set_target_properties(Cutter PROPERTIES OUTPUT_NAME cutter