diff options
Diffstat (limited to 'libssh/CMakeLists.txt')
| -rw-r--r-- | libssh/CMakeLists.txt | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt index fa8eb413..83469f3f 100644 --- a/libssh/CMakeLists.txt +++ b/libssh/CMakeLists.txt @@ -136,13 +136,6 @@ if (WITH_SERVER) ) endif (WITH_SERVER) -if (MSVC) - set(libssh_SRCS - ${libssh_SRCS} - libssh.def - ) -endif (MSVC) - include_directories( ${LIBSSH_PUBLIC_INCLUDE_DIRS} ${LIBSSH_PRIVATE_INCLUDE_DIRS} @@ -161,6 +154,8 @@ set_target_properties( ${LIBRARY_SOVERSION} OUTPUT_NAME ssh + DEFINE_SYMBOL + SSH_EXPORTS ) if (UNIX AND CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug") @@ -175,10 +170,10 @@ endif (UNIX AND CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug install( TARGETS ${LIBSSH_SHARED_LIBRARY} - DESTINATION - ${LIB_INSTALL_DIR} - COMPONENT - libraries + RUNTIME DESTINATION ${BIN_INSTALL_DIR} + LIBRARY DESTINATION ${LIB_INSTALL_DIR} + ARCHIVE DESTINATION ${LIB_INSTALL_DIR} + COMPONENT libraries ) if (WITH_STATIC_LIB) |
