Switched to full static release + enable lto for the docker release image
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
pkg_check_modules(Config++ REQUIRED IMPORTED_TARGET libconfig++)
|
||||
pkg_check_modules(Archive REQUIRED IMPORTED_TARGET libarchive)
|
||||
|
||||
add_library(lmscore SHARED
|
||||
add_library(lmscore STATIC
|
||||
impl/http/Client.cpp
|
||||
impl/http/SendQueue.cpp
|
||||
impl/ArchiveZipper.cpp
|
||||
@@ -42,8 +42,6 @@ target_link_libraries(lmscore PUBLIC
|
||||
Wt::Wt
|
||||
)
|
||||
|
||||
install(TARGETS lmscore DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
if(BUILD_TESTING)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user