CMake: Add missing STATIC for strawberry_lib

Fixes #1580
This commit is contained in:
Jonas Kvinge 2024-10-23 18:16:13 +02:00
parent 28222b1832
commit b106e94494
1 changed files with 1 additions and 1 deletions

View File

@ -1400,7 +1400,7 @@ qt_wrap_cpp(SOURCES ${HEADERS})
qt_wrap_ui(SOURCES ${UI}) qt_wrap_ui(SOURCES ${UI})
qt_add_resources(SOURCES data/data.qrc data/icons.qrc) qt_add_resources(SOURCES data/data.qrc data/icons.qrc)
add_library(strawberry_lib ${SOURCES}) add_library(strawberry_lib STATIC ${SOURCES})
target_sources(strawberry PRIVATE src/main.cpp) target_sources(strawberry PRIVATE src/main.cpp)