Switched to full static release + enable lto for the docker release image
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
add_library(lmssom SHARED
|
||||
add_library(lmssom STATIC
|
||||
impl/DataNormalizer.cpp
|
||||
impl/Network.cpp
|
||||
)
|
||||
@@ -17,8 +17,6 @@ target_link_libraries(lmssom PUBLIC
|
||||
|
||||
set_property(TARGET lmssom PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
install(TARGETS lmssom DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
if(BUILD_TESTING)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user