Switched to full static release + enable lto for the docker release image
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
add_library(lmsauth SHARED
|
||||
add_library(lmsauth STATIC
|
||||
impl/AuthTokenService.cpp
|
||||
impl/AuthServiceBase.cpp
|
||||
impl/EnvService.cpp
|
||||
@@ -50,6 +50,3 @@ if (USE_PAM)
|
||||
target_include_directories(lmsauth PRIVATE ${PAM_INCLUDE_DIR})
|
||||
target_link_libraries(lmsauth PRIVATE ${PAM_LIBRARIES})
|
||||
endif (USE_PAM)
|
||||
|
||||
install(TARGETS lmsauth DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user