cmake: Remove WITH_STATIC_LIB

We will honor BUILD_SHARED_LIBS from cmake next.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
(cherry picked from commit 729c92606c)
This commit is contained in:
Andreas Schneider
2019-11-06 08:58:34 +01:00
parent c0fa85a43d
commit 920c08eaf8
3 changed files with 2 additions and 17 deletions

View File

@@ -406,15 +406,6 @@ if (BUILD_STATIC_LIB)
"-DLIBSSH_STATIC"
)
endif (WIN32)
if (WITH_STATIC_LIB)
install(TARGETS
${LIBSSH_STATIC_LIBRARY}
DESTINATION
${CMAKE_INSTALL_LIBDIR}/${OUTPUT_SUFFIX}
COMPONENT
libraries)
endif (WITH_STATIC_LIB)
endif (BUILD_STATIC_LIB)
message(STATUS "Threads_FOUND=${Threads_FOUND}")