Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Merge janbar#15
Browse files Browse the repository at this point in the history
  • Loading branch information
enginelesscc committed Jan 21, 2022
1 parent db6bf09 commit 2cf841e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ cmake_minimum_required( VERSION 3.1.0 )

set( CMAKE_DISABLE_SOURCE_CHANGES ON )
set( CMAKE_DISABLE_IN_SOURCE_BUILD ON )
option( OPENSSL_BUILD_WITH_INSTALL_NAMES "Build libraries with unadorned names" OFF )

set( CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" )

Expand Down
4 changes: 4 additions & 0 deletions crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ if( MSVC )
endif()
endif()

if (OPENSSL_BUILD_WITH_INSTALL_NAMES)
set_target_properties( crypto PROPERTIES OUTPUT_NAME "crypto" )
endif()

install( TARGETS crypto
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
Expand Down
4 changes: 4 additions & 0 deletions ssl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ if( MSVC )
endif()
endif()

if (OPENSSL_BUILD_WITH_INSTALL_NAMES)
set_target_properties( ssl PROPERTIES OUTPUT_NAME "ssl" )
endif()

install( TARGETS ssl
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
Expand Down

0 comments on commit 2cf841e

Please sign in to comment.