WINDOWS: rename output

This commit is contained in:
janbar 2019-12-02 00:09:50 +01:00
parent 3251ab8531
commit c91f710465
2 changed files with 16 additions and 0 deletions

View File

@ -274,6 +274,14 @@ if( ANDROID )
set_target_properties( crypto PROPERTIES OUTPUT_NAME "crypto_1_1" )
endif()
if( MSVC )
if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set_target_properties( crypto PROPERTIES OUTPUT_NAME "crypto-1_1-x64" )
elseif( CMAKE_SIZEOF_VOID_P EQUAL 4 )
set_target_properties( crypto PROPERTIES OUTPUT_NAME "crypto-1_1" )
endif()
endif()
install( TARGETS crypto
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib

View File

@ -50,6 +50,14 @@ if( ANDROID )
set_target_properties( ssl PROPERTIES OUTPUT_NAME "ssl_1_1" )
endif()
if( MSVC )
if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set_target_properties( ssl PROPERTIES OUTPUT_NAME "ssl-1_1-x64" )
elseif( CMAKE_SIZEOF_VOID_P EQUAL 4 )
set_target_properties( ssl PROPERTIES OUTPUT_NAME "ssl-1_1" )
endif()
endif()
install( TARGETS ssl
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib