Switched to full static release + enable lto for the docker release image

This commit is contained in:
emeric
2025-01-22 18:34:08 +01:00
parent 40416cb907
commit 5b73925019
17 changed files with 19 additions and 59 deletions
+1 -4
View File
@@ -1,5 +1,5 @@
add_library(lmsimage SHARED
add_library(lmsimage STATIC
impl/EncodedImage.cpp
)
@@ -47,6 +47,3 @@ elseif (${LMS_IMAGE_BACKEND} STREQUAL "graphicsmagick")
else ()
message(FATAL_ERROR "Invalid image library")
endif ()
install(TARGETS lmsimage DESTINATION ${CMAKE_INSTALL_LIBDIR})