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 -3
View File
@@ -1,5 +1,5 @@
add_library(lmsscrobbling SHARED
add_library(lmsscrobbling STATIC
impl/internal/InternalBackend.cpp
impl/listenbrainz/ListenBrainzBackend.cpp
impl/listenbrainz/ListenTypes.cpp
@@ -26,8 +26,6 @@ target_link_libraries(lmsscrobbling PUBLIC
lmsdatabase
)
install(TARGETS lmsscrobbling DESTINATION ${CMAKE_INSTALL_LIBDIR})
if(BUILD_TESTING)
add_subdirectory(test)
endif()